mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 00:14:25 -05:00
plugged possible memory leak (e.g. when deleting syncrepl config)
This commit is contained in:
parent
0ac44dc868
commit
fa4aa9845f
1 changed files with 4 additions and 0 deletions
|
|
@ -1786,6 +1786,10 @@ void bindconf_free( slap_bindconf *bc ) {
|
|||
bc->sb_tls_crlcheck = NULL;
|
||||
}
|
||||
#endif
|
||||
if ( bc->sb_tls_ctx ) {
|
||||
ldap_pvt_tls_ctx_free( bc->sb_tls_ctx );
|
||||
bc->sb_tls_ctx = NULL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue