qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/4] qcow2: Fix leak of opts in qcow2_open


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 4/4] qcow2: Fix leak of opts in qcow2_open
Date: Wed, 27 Aug 2014 19:40:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

On 27.08.2014 08:02, Fam Zheng wrote:
Not all the error paths release opts, fix it by moving it after the fail
label.

Signed-off-by: Fam Zheng <address@hidden>
---
  block/qcow2.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

This is pretty much the same patch as 'qcow2: Fix leak of QemuOpts in qcow2_open()' from my 'qapi/block-core: Add "new" qcow2 options' series. I guess it's up to the maintainer(s) which one gets pulled, I just want to point out that pulling one means leaving out the other.

Max



reply via email to

[Prev in Thread] Current Thread [Next in Thread]