From 0898b96d26981d553e041a78721e32946bd4bddf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 19 Dec 2008 23:48:30 +0100 Subject: Reprocess LDB SWIG file. --- source4/lib/ldb/ldb_wrap.c | 2 ++ 1 file changed, 2 insertions(+) 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)); } -- cgit