mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 07:30:57 -05:00
Additional shutdown check
This commit is contained in:
parent
651bc9e40e
commit
4629002ec4
1 changed files with 2 additions and 0 deletions
|
|
@ -504,6 +504,8 @@ log_old_lookup( Operation *op, SlapReply *rs )
|
|||
|
||||
if ( rs->sr_type != REP_SEARCH) return 0;
|
||||
|
||||
if ( slapd_shutdown ) return 0;
|
||||
|
||||
if ( pd->used >= pd->slots ) {
|
||||
pd->slots += PURGE_INCREMENT;
|
||||
pd->dn = ch_realloc( pd->dn, pd->slots * sizeof( struct berval ));
|
||||
|
|
|
|||
Loading…
Reference in a new issue