diff options
Diffstat (limited to 'source4/ldap_server/ldap_server.c')
-rw-r--r-- | source4/ldap_server/ldap_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c index 0255c72086..c45a4168f9 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -548,7 +548,7 @@ static NTSTATUS add_socket(struct tevent_context *event_context, /* And once we are bound, free the tempoary ldb, it will * connect again on each incoming LDAP connection */ - talloc_free(ldb); + talloc_unlink(ldap_service, ldb); return status; } |