Fix memory leak in cmd_format.c

Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
Justin Husted 2019-10-31 10:20:42 -07:00 committed by Kent Overstreet
parent bf7574260c
commit 37899250f3

View File

@ -244,6 +244,8 @@ int cmd_format(int argc, char *argv[])
bch2_fs_stop(c);
}
darray_free(device_paths);
return 0;
}