mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07: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:
committed by
Anthony Liguori
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user