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: https://git.lorimer.id.au/gitweb.git/diff_plain/a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876?ds=inline;hp=--cc diff -S: release the image after looking for needle in it Signed-off-by: Junio C Hamano --- a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876 diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index 286919e714..c4a77d71da 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; }