[libvirt] [PATCH] virsh: plug memory leak on cmdDomblkstat

Eric Blake eblake at redhat.com
Fri Dec 9 17:37:01 UTC 2011


On 12/08/2011 02:22 AM, Alex Jia wrote:
> On 12/08/2011 05:11 PM, ajia at redhat.com wrote:
>> From: Alex Jia<ajia at redhat.com>
>>
>> Detected by valgrind. Leak introduced in commit 88a993b:
>>
>> * tools/virsh.c: fix memory leak on cmdDomblkstat.
>>
>> * how to reproduce?
>>    % valgrind -v --leak-check=full virsh cmdDomblkstat<domain name>
> s/cmdDomblkstat/domblklist/, please help fix this comment error before
> applied.

Done, and ACK.  Oops - I introduced that leak.  Thanks, and pushed.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111209/fe96ded8/attachment-0001.sig>


More information about the libvir-list mailing list