GNUtls - ignore free of NULL ctx

This commit is contained in:
Howard Chu 2007-05-13 09:43:41 +00:00
parent 5f36d32596
commit 423f20c915

View File

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