diff -M: release the preimage candidate blobs after rename detection.
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>
This commit is contained in:
parent
6e0b8ed6d3
commit
50b2b53897
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user