Re: [PATCH 2/3] grep: Fix two memory leaks
- From
Dan McGee <dpmcgee@gmail.com>
- Date
- Jan 30, 2010, 15:45 UTC
- Message-ID
- <449c10961001300745m495986acw5f1cfe5c22f4ee1f@mail.gmail.com>
- In-Reply-To
- <1264866178-12048-1-git-send-email-dpmcgee@gmail.com>
On Sat, Jan 30, 2010 at 9:42 AM, Dan McGee <dpmcgee@gmail.com> wrote:
Show 7 quoted lines
> We duplicate the grep_opt structure when using grep threads, but didn't > later free either the patterns attached to this new structure or the > structure itself. > > Signed-off-by: Dan McGee <dpmcgee@gmail.com> > --- > Found these with valgrind.
Ignore the misleading numbers in the subject, there isn't more to see here...whoops.
-Dan