mirror of
https://github.com/git/git.git
synced 2026-01-19 07:04:49 +00:00
At the end of the add command, disable and free the fscache so that we don't
leak the memory and so that we can dump the fscache statistics. Signed-off-by: Ben Peart <benpeart@microsoft.com>
This commit is contained in:
committed by
Johannes Schindelin
parent
c81e0d3a5a
commit
7bd04bb654
@@ -541,6 +541,7 @@ finish:
|
||||
COMMIT_LOCK | SKIP_IF_UNCHANGED))
|
||||
die(_("Unable to write new index file"));
|
||||
|
||||
enable_fscache(0);
|
||||
UNLEAK(pathspec);
|
||||
UNLEAK(dir);
|
||||
return exit_status;
|
||||
|
||||
Reference in New Issue
Block a user