Skip to content

Commit a1f202f

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 <[email protected]>
1 parent cf1a1b1 commit a1f202f

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
@@ -1595,6 +1595,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
15951595
wt_status_print(&s);
15961596
wt_status_collect_free_buffers(&s);
15971597

1598+
enable_fscache(0);
15981599
return 0;
15991600
}
16001601

0 commit comments

Comments
 (0)