plugged possible memory leak (e.g. when deleting syncrepl config)

This commit is contained in:
Ralf Haferkamp 2011-03-14 17:29:55 +00:00
parent 0ac44dc868
commit fa4aa9845f

View file

@ -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
}