summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-19 23:48:30 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-19 23:48:30 +0100
commit0898b96d26981d553e041a78721e32946bd4bddf (patch)
tree412be86f98c4984fb1d27ca6c592276e16bc5c88 /source4/lib/ldb
parent89043bda3e8922f1442f7e0a0f087697ad1ed7a7 (diff)
downloadsamba-0898b96d26981d553e041a78721e32946bd4bddf.tar.gz
samba-0898b96d26981d553e041a78721e32946bd4bddf.tar.bz2
samba-0898b96d26981d553e041a78721e32946bd4bddf.zip
Reprocess LDB SWIG file.
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/ldb_wrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_wrap.c b/source4/lib/ldb/ldb_wrap.c
index e290b851f3..2055695020 100644
--- a/source4/lib/ldb/ldb_wrap.c
+++ b/source4/lib/ldb/ldb_wrap.c
@@ -3067,6 +3067,8 @@ static void py_ldb_debug(void *context, enum ldb_debug_level level, const char *
if (ldif == NULL) {
return Py_None;
} else {
+ /* We don't want this attached to the 'ldb' any more */
+ talloc_steal(NULL, ldif);
return Py_BuildValue((char *)"(iO)", ldif->changetype,
SWIG_NewPointerObj(ldif->msg, SWIGTYPE_p_ldb_message, 0));
}