projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810f4f8
)
blkverify: Fix leak of opts in blkverify_open
author
Fam Zheng
<famz@redhat.com>
Thu, 28 Aug 2014 05:56:11 +0000
(13:56 +0800)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Fri, 29 Aug 2014 16:10:18 +0000
(17:10 +0100)
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/blkverify.c
patch
|
blob
|
history
diff --git
a/block/blkverify.c
b/block/blkverify.c
index 7c78ca41a562e69f3031394369065d0310755f92..163064cf6bb7bbcf475e6eeeb66b14dcee1c9f7e 100644
(file)
--- a/
block/blkverify.c
+++ b/
block/blkverify.c
@@
-158,6
+158,7
@@
static int blkverify_open(BlockDriverState *bs, QDict *options, int flags,
ret = 0;
fail:
+ qemu_opts_del(opts);
return ret;
}