diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-29 15:58:12 +0100 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2011-01-03 01:48:04 +0100 |
| commit | cbf504b0c5e08ccf9776f079ef2d4a0c2258241b (patch) | |
| tree | 441eb596e5638ef128f6df47c03065b2cc3a5c6f /source4/lib | |
| parent | b320cc799096fb07870c5e5d6d69d485cb1d1ea5 (diff) | |
s4-python: Properly call PyObject_Del from all destructors.
Diffstat (limited to 'source4/lib')
| -rw-r--r-- | source4/lib/ldb/pyldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 354e83d8d3..d829c42ce6 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -1502,7 +1502,7 @@ static PyObject *PyLdb_FromLdbContext(struct ldb_context *ldb_ctx) static void py_ldb_dealloc(PyLdbObject *self) { talloc_free(self->mem_ctx); - self->ob_type->tp_free(self); + PyObject_Del(self); } PyTypeObject PyLdb = { |
