diff --git a/cmd_format.c b/cmd_format.c index ae83a977..673c63a7 100644 --- a/cmd_format.c +++ b/cmd_format.c @@ -244,6 +244,8 @@ int cmd_format(int argc, char *argv[]) bch2_fs_stop(c); } + darray_free(device_paths); + return 0; }