Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diffcore-delta: make the hash a bit denser.
[gitweb.git]
/
diffcore-rename.c
diff --git
a/diffcore-rename.c
b/diffcore-rename.c
index b80b4320ff6ea586d8d3c2800a7c42d68ccdd796..ed99fe2cc043c1c9726680d1dde06672e10c6eb1 100644
(file)
--- a/
diffcore-rename.c
+++ b/
diffcore-rename.c
@@
-307,8
+307,8
@@
void diffcore_rename(struct diff_options *options)
m->score = estimate_similarity(one, two,
minimum_score);
}
- free(two->cnt_data);
-
two->cnt_data = NULL
;
+ /* We do not need the text anymore */
+
diff_free_filespec_data(two)
;
dst_cnt++;
}
/* cost matrix sorted by most to least similar pair */