summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qemu-img.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 576b7f7efd..1d97f2ebfb 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -607,6 +607,7 @@ static int img_convert(int argc, char **argv)
if (options && !strcmp(options, "?")) {
print_option_help(drv->create_options);
+ free(bs);
return 0;
}