qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-img: Fix memory leak
@ 2009-11-18  9:48 Kevin Wolf
  0 siblings, 0 replies; only message in thread
From: Kevin Wolf @ 2009-11-18  9:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 qemu-img.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/qemu-img.c b/qemu-img.c
index 972843a..e4ffe46 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;
     }
 
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-18  9:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18  9:48 [Qemu-devel] [PATCH] qemu-img: Fix memory leak Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).