[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/4] blkverify: Fix leak of opts in blkverify_op
From: |
Benoît Canet |
Subject: |
Re: [Qemu-devel] [PATCH 2/4] blkverify: Fix leak of opts in blkverify_open |
Date: |
Wed, 27 Aug 2014 16:41:58 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
The Wednesday 27 Aug 2014 à 14:02:34 (+0800), Fam Zheng wrote :
> Signed-off-by: Fam Zheng <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
>
>
Reviewed-by: Benoît Canet <address@hidden>