commit | bfac23d9534ea88ed2b033cf0cb17b22ec0e4cdb | [log] [tgz] |
---|---|---|
author | Dan McGee <dpmcgee@gmail.com> | Sat Jan 30 09:42:58 2010 -0600 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Jan 30 09:11:00 2010 -0800 |
tree | 3143071c046a80676110fad40cdcfaadc3e36706 | |
parent | 31d87385c4fbd7fc4ab295f2848531b5c1021828 [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>