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

[Xen-devel] [PATCH] Fix memory leaks in libxc python bindings



Hi,

Reference counters are not correctly decreased for python object in several
places in python bindings for libxc. Most of them are around PyList_Append(),
which unlike PyList_SetItem() does increment reference counter of the object
being added to a list.

Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>

Attachment: xc-leak.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.