Skip to contentSkip to conversation

qemu-img: Fix memory leak

PATCH New Kevin Wolf 1 participant 1 message Nov 18, 2009

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

PATCH 1/1 qemu-img: Fix memory leak

---
 qemu-img.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
qemu-img.c +1 -0
index 972843a..e4ffe46 100644
@@ -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;
     }
 
Signature · 1 line
1.6.2.5