summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-29 15:58:12 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-01-01 02:54:05 +0100
commit4350e0c3c99fedab99ab1cc680e9d8fe555162e9 (patch)
treeac3a67038c9b74e395f5f2ede8822200b7313baa /source4/libnet
parent9529fdab26270f4d35119e87f9ca8a7693c24a3f (diff)
downloadsamba-4350e0c3c99fedab99ab1cc680e9d8fe555162e9.tar.gz
samba-4350e0c3c99fedab99ab1cc680e9d8fe555162e9.tar.bz2
samba-4350e0c3c99fedab99ab1cc680e9d8fe555162e9.zip
s4-python: Properly call PyObject_Del from all destructors.
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/py_net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index 48cf4a416d..514f9dfe3c 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -540,6 +540,7 @@ static PyMethodDef net_obj_methods[] = {
static void py_net_dealloc(py_net_Object *self)
{
talloc_free(self->mem_ctx);
+ PyObject_Del(self);
}
static PyObject *net_obj_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)