projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e0b8ed
)
diff -M: release the preimage candidate blobs after rename detection.
author
Junio C Hamano
<junkio@cox.net>
Thu, 3 May 2007 20:04:53 +0000
(13:04 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 7 May 2007 22:54:32 +0000
(15:54 -0700)
We released the postimage candidate blobs after we are done to reduce
memory pressure. Do the same for preimage candidate blobs.
Signed-off-by: Junio C Hamano <junkio@cox.net>
diffcore-rename.c
patch
|
blob
|
history
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);