From a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 7 May 2007 01:24:27 -0700 Subject: [PATCH] diff -S: release the image after looking for needle in it Signed-off-by: Junio C Hamano --- diffcore-pickaxe.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2