qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 34/37] tests: pc-cpu-test leaks fixes


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2 34/37] tests: pc-cpu-test leaks fixes
Date: Thu, 28 Jul 2016 16:17:14 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 07/28/2016 08:38 AM, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
> 
> The path is allocated and should be freed.
> 
> The qmp response should be unref, but then 'machine' must be duplicated.
> 
> Use a destroy function for the PCTestData.
> 
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
>  tests/pc-cpu-test.c | 24 +++++++++++++++++++-----
>  1 file changed, 19 insertions(+), 5 deletions(-)
> 

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]