projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b2f05
)
qemu-img: Fix memory leak
author
Kevin Wolf
<kwolf@redhat.com>
Wed, 18 Nov 2009 09:48:01 +0000
(10:48 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 3 Dec 2009 21:26:00 +0000
(15:26 -0600)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-img.c
patch
|
blob
|
history
diff --git
a/qemu-img.c
b/qemu-img.c
index 576b7f7efd9a529a06d24d52c14662983e4b519e..1d97f2ebfb02f5c99d5c34570c9574b70f5bb8c3 100644
(file)
--- 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;
}