diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-29 18:56:13 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-01-01 03:39:58 +0100 |
commit | 5792fa90ace06f736661d9924ec9a75c3a0a9771 (patch) | |
tree | 189f5bcd84247351d641f758cc914cf99b6af407 /lib/tdb | |
parent | f5fe9c32ef833d3f1ee4b891f46e94382aa182fe (diff) | |
download | samba-5792fa90ace06f736661d9924ec9a75c3a0a9771.tar.gz samba-5792fa90ace06f736661d9924ec9a75c3a0a9771.tar.bz2 samba-5792fa90ace06f736661d9924ec9a75c3a0a9771.zip |
s4-python: Only set BASETYPE flag if subclassing is supported.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/tdb')
-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) |