[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 2/3] blkverify: Fix leak of opts in blkverify_ope
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v3 2/3] blkverify: Fix leak of opts in blkverify_open |
Date: |
Thu, 28 Aug 2014 13:56:11 +0800 |
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Benoît Canet <address@hidden>
---
block/blkverify.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/blkverify.c b/block/blkverify.c
index 7c78ca4..163064c 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;
}
--
2.1.0