Skip to content

Commit 24c3bb4

Browse files
committed
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 25a7f44 commit 24c3bb4

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
@@ -1410,6 +1410,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
14101410
s.prefix = prefix;
14111411

14121412
wt_status_print(&s);
1413+
enable_fscache(0);
14131414
return 0;
14141415
}
14151416

0 commit comments

Comments
 (0)