summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 576b7f7ef..1d97f2ebf 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;
}