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 31376a7db2..976b55ee01 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -612,7 +612,7 @@ static void ldapsrv_accept(struct server_connection *conn) DEBUG(5, ("ldapsrv_accept\n")); - ldap_conn = talloc_p(NULL, struct ldapsrv_connection); + ldap_conn = talloc_p(conn, struct ldapsrv_connection); if (ldap_conn == NULL) return; |