Re: [PATCH] conf: Don't leak the virtual port profile in virNetworkDefFree

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

 



2011/8/1 Osier Yang <jyang@xxxxxxxxxx>:
> 于 2011年08月01日 16:07, Matthias Bolte 写道:
>>
>> Reported by Alex Jia.
>> ---
>>  src/conf/network_conf.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c
>> index 6714c20..b11c482 100644
>> --- a/src/conf/network_conf.c
>> +++ b/src/conf/network_conf.c
>> @@ -169,6 +169,8 @@ void virNetworkDefFree(virNetworkDefPtr def)
>>
>>      virNetworkDNSDefFree(def->dns);
>>
>> +    VIR_FREE(def->virtPortProfile);
>> +
>>      virBandwidthDefFree(def->bandwidth);
>>
>>      VIR_FREE(def);
>
> ACK
>
> Osier
>

Thanks, pushed.

-- 
Matthias Bolte
http://photron.blogspot.com

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