Skip to content
Snippets Groups Projects
Commit 8cb7f2f8 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#8755 Do not close the default SockBuf a second time

parent c8c4a842
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,9 @@ ldap_ld_free(
}
LDAP_MUTEX_UNLOCK( &ld->ld_res_mutex );
ber_sockbuf_free( ld->ld_sb );
/* Should already be closed by ldap_free_connection which knows not to free
* this one */
ber_int_sb_destroy( ld->ld_sb );
LDAP_MUTEX_LOCK( &ld->ld_ldopts_mutex );
......
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