git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89043bd
)
Reprocess LDB SWIG file.
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 19 Dec 2008 22:48:30 +0000
(23:48 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Fri, 19 Dec 2008 22:48:30 +0000
(23:48 +0100)
source4/lib/ldb/ldb_wrap.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_wrap.c
b/source4/lib/ldb/ldb_wrap.c
index e290b851f381916a2c4f7757418aa8d543a73d02..2055695020e169dac7dfb3788ac4ba97154e5912 100644
(file)
--- 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));
}