aboutsummaryrefslogtreecommitdiffstats
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-09 00:23:45 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-09 00:23:45 -0700
commit9e6c7e01871920379c299db53b2faab2fe7d093c (patch)
tree7fb90a24816d8a524500cab04d054e62dd2a5477 /diffcore-rename.c
parentMerge branch 'jn/gitweb' (diff)
parentdiff -S: release the image after looking for needle in it (diff)
downloadgit-9e6c7e01871920379c299db53b2faab2fe7d093c.tar.gz
git-9e6c7e01871920379c299db53b2faab2fe7d093c.zip
Merge branch 'jc/diffopt'
* jc/diffopt: diff -S: release the image after looking for needle in it diff -M: release the preimage candidate blobs after rename detection. diff.c: do not use a separate "size cache". diff: release blobs after generating textual diff.
Diffstat (limited to 'diffcore-rename.c')
-rw-r--r--diffcore-rename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diffcore-rename.c b/diffcore-rename.c
index 79030412db..93c40d9e04 100644
--- a/diffcore-rename.c
+++ b/diffcore-rename.c
@@ -329,6 +329,7 @@ void diffcore_rename(struct diff_options *options)
m->dst = i;
m->score = estimate_similarity(one, two,
minimum_score);
+ diff_free_filespec_data(one);
}
/* We do not need the text anymore */
diff_free_filespec_data(two);