Re: [PATCH] Fix small memory leaks in config parsing related functions

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

 



2011/4/25 Eric Blake <eblake@xxxxxxxxxx>:
> On 04/24/2011 04:26 PM, Matthias Bolte wrote:
>> Found by 'make -C tests valgrind'.
>>
>> xen_xm.c: Dummy allocation via virDomainChrDefNew is directly
>> overwritten and lost. Free 'script' in success path too.
>>
>> vmx.c: Free virtualDev_string in success path too.
>>
>> domain_conf.c: Free compression in success path too.
>> ---
>> Âsrc/conf/domain_conf.c | Â Â1 +
>> Âsrc/vmx/vmx.c     Â|  16 +++++++++-------
>> Âsrc/xenxs/xen_xm.c   |  Â3 +--
>> Â3 files changed, 11 insertions(+), 9 deletions(-)
>
> ACK to all three fixes.
>

Thanks, pushed.

Matthias

--
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]