Skip to content

Commit f527013

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 c210be1 commit f527013

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

builtin/commit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
15921592
wt_status_print(&s);
15931593
wt_status_collect_free_buffers(&s);
15941594

1595+
enable_fscache(0);
15951596
return 0;
15961597
}
15971598

0 commit comments

Comments
 (0)