author | Dan McGee <dpmcgee@gmail.com> | |
Sat, 30 Jan 2010 15:42:58 +0000 (09:42 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 30 Jan 2010 17:11:00 +0000 (09:11 -0800) | ||
commit | bfac23d9534ea88ed2b033cf0cb17b22ec0e4cdb | |
tree | 3143071c046a80676110fad40cdcfaadc3e36706 | tree | snapshot |
parent | 31d87385c4fbd7fc4ab295f2848531b5c1021828 | commit | diff |
grep: Fix two memory leaks
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c | diff | blob | history |