mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
GNUtls - ignore free of NULL ctx
This commit is contained in:
parent
5f36d32596
commit
423f20c915
@ -188,6 +188,8 @@ ldap_pvt_tls_ctx_free ( void *c )
|
||||
int refcount;
|
||||
tls_ctx *ctx = c;
|
||||
|
||||
if ( !ctx ) return;
|
||||
|
||||
#ifdef LDAP_R_COMPILE
|
||||
ldap_pvt_thread_mutex_lock( &ctx->ref_mutex );
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user