mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#2467 NULL pointer check
This commit is contained in:
parent
7bbc903201
commit
e0f0a40497
@ -291,7 +291,7 @@ dn2entry_retry:
|
||||
ldap_pvt_thread_yield();
|
||||
goto dn2entry_retry;
|
||||
default:
|
||||
boi->boi_err = rc;
|
||||
if ( boi ) boi->boi_err = rc;
|
||||
if ( free_lock_id ) {
|
||||
LOCK_ID_FREE( bdb->bi_dbenv, locker );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user