diff options
author | Fam Zheng <famz@redhat.com> | 2014-08-28 13:56:11 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-08-29 17:10:18 +0100 |
commit | 315859312628e581322fe44742f3a05d1549539a (patch) | |
tree | 3d630e7c9aa0166071a4e2a8a9a03a9a8bcb74ce /block | |
parent | 810f4f86b7ebfd0a89fb65bff24aae006483cd58 (diff) |
blkverify: Fix leak of opts in blkverify_open
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>
Diffstat (limited to 'block')
-rw-r--r-- | block/blkverify.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blkverify.c b/block/blkverify.c index 7c78ca41a5..163064cf6b 100644 --- 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; } |