From 4e2e5eafb2dfd60fcddd27efa95ff17a52311fec Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 17 Jan 2011 16:23:23 +1100 Subject: s4-pyldb Fix tp_basicsize for PyLdbDn This wasn't actually causing problems before, as the structures were the same size. Andrew Bartlett --- source4/lib/ldb/pyldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 17c0734cf6..e1743472c6 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -368,7 +368,7 @@ static PyTypeObject PyLdbDn = { .tp_doc = "A LDB distinguished name.", .tp_new = py_ldb_dn_new, .tp_dealloc = (destructor)py_ldb_dn_dealloc, - .tp_basicsize = sizeof(PyLdbObject), + .tp_basicsize = sizeof(PyLdbDnObject), .tp_flags = Py_TPFLAGS_DEFAULT, }; -- cgit