s4:ldb Rework use of talloc and ldif objects in python wrapper
authorAndrew Bartlett <abartlet@samba.org>
Sun, 5 Jul 2009 23:31:38 +0000 (09:31 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 5 Jul 2009 23:50:47 +0000 (09:50 +1000)
commitf45a9d63e5a1697a7e85b123b535d2dc05f9fd8c
tree6ed175c9269cb78ad6b05f78bf9d2fdb34cc6bc8
parentda45d5215d1da2a1ff1b72b9bc3f10ec2192fba9
s4:ldb Rework use of talloc and ldif objects in python wrapper

The talloc hirarchy here was a bit odd - we would both steal the
parsed ldif onto 'NULL', then reference it onto a python talloc
wrapper.

Now we just leave the reference, after we complete building the object.

Andrew Bartlett
source4/lib/ldb/pyldb.c