summaryrefslogtreecommitdiff
path: root/diffcore-pickaxe.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-07 01:24:27 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-07 15:54:32 -0700
commita0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876 (patch)
tree7ab5a6184b9fc2c97bdcb99ded882f94d173776e /diffcore-pickaxe.c
parent50b2b53897d6f0331c192f2964542ed62a9911c0 (diff)
downloadgit-a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876.tar.gz
diff -S: release the image after looking for needle in it
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diffcore-pickaxe.c')
-rw-r--r--diffcore-pickaxe.c1
1 files changed, 1 insertions, 0 deletions
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;
}