mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-05 21:46:04 +00:00
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, "?")) {
|
if (options && !strcmp(options, "?")) {
|
||||||
print_option_help(drv->create_options);
|
print_option_help(drv->create_options);
|
||||||
|
free(bs);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user