diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-01-17 16:23:23 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-01-18 10:55:05 +0100 |
commit | 4e2e5eafb2dfd60fcddd27efa95ff17a52311fec (patch) | |
tree | 1cfbaf34e1e85e806e65c7298bbc979bdf913df6 /source4/lib | |
parent | 147f075c471d26bcf7d9e9ecafb88ff102414de4 (diff) | |
download | samba-4e2e5eafb2dfd60fcddd27efa95ff17a52311fec.tar.gz samba-4e2e5eafb2dfd60fcddd27efa95ff17a52311fec.tar.bz2 samba-4e2e5eafb2dfd60fcddd27efa95ff17a52311fec.zip |
s4-pyldb Fix tp_basicsize for PyLdbDn
This wasn't actually causing problems before, as the structures were
the same size.
Andrew Bartlett
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 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, }; |