diff options
Diffstat (limited to 'lib/tdb/pytdb.c')
-rw-r--r-- | lib/tdb/pytdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/pytdb.c b/lib/tdb/pytdb.c index 981459efef..0faba562de 100644 --- a/lib/tdb/pytdb.c +++ b/lib/tdb/pytdb.c @@ -479,7 +479,7 @@ static void tdb_object_dealloc(PyTdbObject *self) { if (!self->closed) tdb_close(self->ctx); - PyObject_Del(self); + self->ob_type->tp_free(self); } static PyObject *obj_getitem(PyTdbObject *self, PyObject *key) |