qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tests: test-qmp-commands: Fix double free


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] tests: test-qmp-commands: Fix double free
Date: Mon, 10 Mar 2014 09:49:52 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/08/2014 10:27 AM, Luiz Capitulino wrote:
> The ret variable is freed twice, but on the second time we actually want
> to free ret3 instead. Don't know why this didn't explode.
> 
> Reported-by: Peter Maydell <address@hidden>
> Tested-by: Peter Maydell <address@hidden>
> Signed-off-by: Luiz Capitulino <address@hidden>
> ---
>  tests/test-qmp-commands.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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