summaryrefslogtreecommitdiff
path: root/diffcore-pickaxe.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-07 08:24:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-07 22:54:32 (GMT)
commita0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876 (patch)
tree7ab5a6184b9fc2c97bdcb99ded882f94d173776e /diffcore-pickaxe.c
parent50b2b53897d6f0331c192f2964542ed62a9911c0 (diff)
downloadgit-a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876.zip
git-a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876.tar.gz
git-a0cb94006ccc6bde6fe89b2a4d8bf7ea84c8b876.tar.bz2
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 286919e..c4a77d7 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;
}