mirror of
https://github.com/git/git.git
synced 2026-01-18 14:44:28 +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
366faa3940
commit
28636eef39
@@ -538,6 +538,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