mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-16 02:26:21 -05: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
64874ab12a
commit
8d9edfdc2e
@@ -610,6 +610,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