From: Kevin Wolf Date: Wed, 18 Nov 2009 09:48:01 +0000 (+0100) Subject: qemu-img: Fix memory leak X-Git-Tag: v0.12.0-rc0~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7078dead94a24bc4e5819e4a6448bd5738a2d088;p=thirdparty%2Fqemu.git qemu-img: Fix memory leak Signed-off-by: Kevin Wolf Signed-off-by: Anthony Liguori --- diff --git a/qemu-img.c b/qemu-img.c index 576b7f7efd9..1d97f2ebfb0 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; }