[libvirt] [PATCH] qemu: plug memory leak

Alex Jia ajia at redhat.com
Fri Oct 28 16:58:45 UTC 2011


Eric, thanks a lot :)

Alex

----- Original Message -----
From: "Eric Blake" <eblake at redhat.com>
To: ajia at redhat.com
Cc: libvir-list at redhat.com
Sent: Saturday, October 29, 2011 12:23:54 AM
Subject: Re: [libvirt] [PATCH] qemu: plug memory leak

On 10/28/2011 05:35 AM, ajia at redhat.com wrote:
> From: Alex Jia<ajia at redhat.com>
>
> Deteted by valgrind:

s/Deteted/Detected/

Introduced by c1bc3d89 (unreleased, thankfully).

> ==18462== LEAK SUMMARY:
> ==18462==    definitely lost: 1,100 bytes in 1 blocks
> ==18462==    indirectly lost: 0 bytes in 0 blocks
>
> * src/qemu/qemu_command.c (qemuBuildCommandLine): Clean up on success.

Pretty sizeable leak.  ACK and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list