summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
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)