1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

r7518: don't use an uninitialised ldb debug function when failing to load modules in the ldap

backend
(This used to be commit 52e4a5b3b0c4c96bf9686ce047ccfc1846dc2c89)
This commit is contained in:
Andrew Tridgell 2005-06-13 06:02:55 +00:00 committed by Gerald (Jerry) Carter
parent d94805ea55
commit 490a5a5d59

View File

@ -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;