Skip to content
Snippets Groups Projects
Commit d7be822a authored by Howard Chu's avatar Howard Chu
Browse files

Fix prev commit

parent 9695d292
No related branches found
No related tags found
No related merge requests found
......@@ -528,7 +528,8 @@ void slapd_remove(
SLAP_DEL_SOCK(s);
ber_sockbuf_free(sb);
if ( sb )
ber_sockbuf_free(sb);
/* If we ran out of file descriptors, we dropped a listener from
* the select() loop. Now that we're removing a session from our
......@@ -1265,7 +1266,7 @@ close_listeners(
Listener *lr = slap_listeners[l];
if ( lr->sl_sd != AC_SOCKET_INVALID ) {
if ( remove ) slapd_remove( lr->sl_sd, 0, 0, 0 );
if ( remove ) slapd_remove( lr->sl_sd, NULL, 0, 0, 0 );
#ifdef LDAP_PF_LOCAL
if ( lr->sl_sa.sa_addr.sa_family == AF_LOCAL ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment