diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-11-18 10:48:01 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 15:26:00 -0600 |
commit | 7078dead94a24bc4e5819e4a6448bd5738a2d088 (patch) | |
tree | ed95caa3d2f5b4c6059429fb3a2868ae9727f34f /qemu-img.c | |
parent | b4b2f05403c30a655cd74584a74b2f4e135d4260 (diff) | |
download | qemu-7078dead94a24bc4e5819e4a6448bd5738a2d088.tar.gz qemu-7078dead94a24bc4e5819e4a6448bd5738a2d088.tar.bz2 qemu-7078dead94a24bc4e5819e4a6448bd5738a2d088.zip |
qemu-img: Fix memory leak
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r-- | qemu-img.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |