1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-30 17:49:30 +03:00

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

backend
This commit is contained in:
Andrew Tridgell
2005-06-13 06:02:55 +00:00
committed by Gerald (Jerry) Carter
parent 18c96f2b3e
commit 52e4a5b3b0

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;