Skip to content

Commit 69869e4

Browse files
benpeartdscho
authored andcommitted
status: disable and free fscache at the end of the status command
At the end of the status 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>
1 parent 407ff9c commit 69869e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: builtin/commit.c

+1
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,7 @@ struct repository *repo UNUSED)
16241624
wt_status_print(&s);
16251625
wt_status_collect_free_buffers(&s);
16261626

1627+
enable_fscache(0);
16271628
return 0;
16281629
}
16291630

0 commit comments

Comments
 (0)