Skip to content

Commit fa9c8c7

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 cd5d7a6 commit fa9c8c7

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
@@ -1407,6 +1407,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
14071407
wt_status_print(&s);
14081408
wt_status_collect_free_buffers(&s);
14091409

1410+
enable_fscache(0);
14101411
return 0;
14111412
}
14121413

0 commit comments

Comments
 (0)