[libvirt] [PATCH 5/6] virDomainEventCallbackListFree: Don't leak @list-callbacks

2013-11-14 Thread Michal Privoznik
The @list-callbacks is an array that is inflated whenever a new event is added, e.g. via virDomainEventCallbackListAddID(). However, when we are freeing the array, we free the items within it but forgot to actually free it. Signed-off-by: Michal Privoznik mpriv...@redhat.com ---

Re: [libvirt] [PATCH 5/6] virDomainEventCallbackListFree: Don't leak @list-callbacks

2013-11-14 Thread Martin Kletzander
On Thu, Nov 14, 2013 at 10:51:15AM +0100, Michal Privoznik wrote: The @list-callbacks is an array that is inflated whenever a new event is added, e.g. via virDomainEventCallbackListAddID(). However, when we are freeing the array, we free the items within it but forgot to actually free it.