summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Husted <sigstop@gmail.com>2019-10-31 10:20:42 -0700
committerKent Overstreet <kent.overstreet@gmail.com>2019-11-03 23:17:43 -0500
commit37899250f3b02dcca9969aae765454b937a47931 (patch)
tree5e59506b9fa956888a4bf314827f45f5ec2782b5
parentbf7574260c586e3102a69916c3061fa5da2fcb2d (diff)
Fix memory leak in cmd_format.c
Signed-off-by: Justin Husted <sigstop@gmail.com>
-rw-r--r--cmd_format.c2
1 files changed, 2 insertions, 0 deletions
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;
}