Skip to content
Snippets Groups Projects
Commit 4629002e authored by Howard Chu's avatar Howard Chu
Browse files

Additional shutdown check

parent 651bc9e4
Branches
Tags
No related merge requests found
......@@ -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 ));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment