mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
18c96f2b3e
commit
52e4a5b3b0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user