mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +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;
|
int refcount;
|
||||||
tls_ctx *ctx = c;
|
tls_ctx *ctx = c;
|
||||||
|
|
||||||
|
if ( !ctx ) return;
|
||||||
|
|
||||||
#ifdef LDAP_R_COMPILE
|
#ifdef LDAP_R_COMPILE
|
||||||
ldap_pvt_thread_mutex_lock( &ctx->ref_mutex );
|
ldap_pvt_thread_mutex_lock( &ctx->ref_mutex );
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user