mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
Fix prev commit
This commit is contained in:
parent
46e2b97757
commit
0e8b176d1f
1 changed files with 2 additions and 1 deletions
|
|
@ -515,7 +515,8 @@ int ldap_int_sasl_close( LDAP *ld, LDAPConn *lc )
|
|||
|
||||
if( ctx != NULL ) {
|
||||
sasl_dispose( &ctx );
|
||||
if ( lc->lconn_sasl_sockctx && ctx != lc->lconn_sasl_sockctx ) {
|
||||
if ( lc->lconn_sasl_sockctx &&
|
||||
lc->lconn_sasl_authctx != lc->lconn_sasl_sockctx ) {
|
||||
ctx = lc->lconn_sasl_sockctx;
|
||||
sasl_dispose( &ctx );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue