Skip to content

Commit 80af5f8

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 bbb5c02 commit 80af5f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/commit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,6 +1663,7 @@ struct repository *repo UNUSED)
16631663
wt_status_print(&s);
16641664
wt_status_collect_free_buffers(&s);
16651665

1666+
enable_fscache(0);
16661667
return 0;
16671668
}
16681669

0 commit comments

Comments
 (0)