Re: [PATCH] remote: Fix memory leak

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

 



On 07/10/2011 11:14 PM, ajia@xxxxxxxxxx wrote:
> From: Alex Jia <ajia@xxxxxxxxxx>
> 
> Detected in valgrind run:
> 
> ==9184== 1 bytes in 1 blocks are definitely lost in loss record 1 of 19
> ==9184==    at 0x4A04A28: calloc (vg_replace_malloc.c:467)
> ==9184==    by 0x3073715F78: xdr_array (xdr_array.c:97)
> ==9184==    by 0x4CF97C9: xdr_remote_domain_get_security_label_ret (remote_protocol.c:1696)

> 
> * src/remote/remote_driver.c: Avoid leak on remoteDomainGetSecurityLabel
>   and remoteNodeGetSecurityModel.
> ---
>  src/remote/remote_driver.c |   12 +++++++++---
>  1 files changed, 9 insertions(+), 3 deletions(-)

ACK and pushed.  I added you to AUTHORS; let me know if I need to adjust
anything for your preferred spellings.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]