Same as ITS#4464, don't call cache_return_entry with NULL entry

This commit is contained in:
Howard Chu 2006-04-04 09:56:34 +00:00
parent 7c117e37da
commit 272211fbcd

View File

@ -107,7 +107,7 @@ ldbm_back_compare(
}
return_results:;
cache_return_entry_r( &li->li_cache, e );
if ( e ) cache_return_entry_r( &li->li_cache, e );
ldap_pvt_thread_rdwr_runlock(&li->li_giant_rwlock);
send_ldap_result( op, rs );