Skip to content
Snippets Groups Projects
Commit 66164a1b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Share unlock and return between true and false paths.

parent dae494e4
No related branches found
No related tags found
No related merge requests found
......@@ -553,17 +553,12 @@ try_again:
LRU_ADD( cache, ep );
LEI(ep)->lei_refcnt++;
/* free cache mutex */
ldap_pvt_thread_mutex_unlock( &cache->c_mutex );
return( ep );
}
/* free cache mutex */
ldap_pvt_thread_mutex_unlock( &cache->c_mutex );
return( NULL );
return( ep );
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment