ldb/python: Fix missing elements bug and memory leak.
authorjelmer <jelmer@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 30 Dec 2007 16:46:14 +0000 (16:46 +0000)
committerjelmer <jelmer@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Sun, 30 Dec 2007 16:46:14 +0000 (16:46 +0000)
commit9b03f14fec59e8515734af6811dc9d755eb158b8
tree56f5ea76a4de68af5f521d40996c895daface92e
parent8f5e0f48bc98cc6b02e4b6d2436cbf6dfb8e40c5
ldb/python: Fix missing elements bug and memory leak.
 * Don't increase the PyDict_Next() counter - Python already does that for us.
 * Fix a talloc(NULL, ...) memory leak in the code that constructed ldb message
   elements.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26631 0c0555d6-39d7-0310-84fc-f1cc0bd64818
source/lib/ldb/ldb.i
source/lib/ldb/ldb_wrap.c