From 7078dead94a24bc4e5819e4a6448bd5738a2d088 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Wed, 18 Nov 2009 10:48:01 +0100 Subject: [PATCH] qemu-img: Fix memory leak Signed-off-by: Kevin Wolf Signed-off-by: Anthony Liguori --- qemu-img.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu-img.c b/qemu-img.c index 576b7f7efd..1d97f2ebfb 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; }