Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Handle non UTF-8 text better
[gitweb.git]
/
diffcore-rename.c
diff --git
a/diffcore-rename.c
b/diffcore-rename.c
index 79030412dbf883147f35678505ad147dc9c240a8..93c40d9e04f35897b1ac2ad578db0c0972aacbc1 100644
(file)
--- 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);