From fdb0aa2b04a5be5f13c39fd42818f898b839ef0f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 1 Jan 2011 06:55:54 +0100 Subject: Revert broken destructor changes. --- lib/talloc/pytalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/talloc') diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c index 94a163d3d9..614b81f057 100644 --- a/lib/talloc/pytalloc.c +++ b/lib/talloc/pytalloc.c @@ -96,7 +96,7 @@ static void py_talloc_dealloc(PyObject* self) py_talloc_Object *obj = (py_talloc_Object *)self; assert(talloc_unlink(NULL, obj->talloc_ctx) != -1); obj->talloc_ctx = NULL; - PyObject_Del(self); + self->ob_type->tp_free(self); } /** -- cgit