From: Junio C Hamano Date: Mon, 7 May 2007 08:24:27 +0000 (-0700) Subject: diff -S: release the image after looking for needle in it X-Git-Tag: v1.5.2-rc3~12^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876;p=git.git diff -S: release the image after looking for needle in it Signed-off-by: Junio C Hamano --- diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index 286919e71..c4a77d71d 100644 --- a/diffcore-pickaxe.c +++ b/diffcore-pickaxe.c @@ -44,6 +44,7 @@ static unsigned int contains(struct diff_filespec *one, } } } + diff_free_filespec_data(one); return cnt; }