Re: [PATCH 6/6] virObjectEventNew: Use virObjectUnref() to free virObjectEvent

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

 



On Thu, Aug 04, 2016 at 09:47:50 +0200, Michal Privoznik wrote:
> While no leak was observed yet, there might be one if
> virObjectEventClass is ever derived from another class. Because
> in that case plain VIR_FREE() will not call dispose() from parent
> classes possibly leaking some memory.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/conf/object_event.c | 10 +++-------
>  1 file changed, 3 insertions(+), 7 deletions(-)

ACK

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