mirror of
https://github.com/git/git.git
synced 2026-04-11 17:30:08 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user