mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Same as ITS#4464, don't call cache_return_entry with NULL entry
This commit is contained in:
parent
7c117e37da
commit
272211fbcd
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user