From 52e4a5b3b0c4c96bf9686ce047ccfc1846dc2c89 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Jun 2005 06:02:55 +0000 Subject: [PATCH] r7518: don't use an uninitialised ldb debug function when failing to load modules in the ldap backend --- source/lib/ldb/ldb_ldap/ldb_ldap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lib/ldb/ldb_ldap/ldb_ldap.c b/source/lib/ldb/ldb_ldap/ldb_ldap.c index c62c1b9e560..95b620f571c 100644 --- a/source/lib/ldb/ldb_ldap/ldb_ldap.c +++ b/source/lib/ldb/ldb_ldap/ldb_ldap.c @@ -483,6 +483,8 @@ struct ldb_context *lldb_connect(const char *url, goto failed; } + ldb->debug_ops.debug = NULL; + lldb = talloc(ldb, struct lldb_private); if (!lldb) { errno = ENOMEM; -- 2.11.4.GIT