Commit 423f20c9 authored by Howard Chu's avatar Howard Chu
Browse files

GNUtls - ignore free of NULL ctx

parent 5f36d325
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment