qemu-img: Fix memory leak
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
b4b2f05403
commit
7078dead94
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user