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

Martin Kletzander mkletzan at redhat.com
Thu Nov 14 11:40:58 UTC 2013


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.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/conf/domain_event.c | 1 +
>  1 file changed, 1 insertion(+)
> 

ACK,

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131114/1f4f63f8/attachment-0001.sig>


More information about the libvir-list mailing list