mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
make sure callback is freed (ITS#6640)
This commit is contained in:
parent
18bf64a726
commit
c78014bc5d
1 changed files with 4 additions and 2 deletions
|
|
@ -2389,8 +2389,7 @@ over:;
|
|||
entry_free(si->head);
|
||||
}
|
||||
}
|
||||
op->o_callback = op->o_callback->sc_next;
|
||||
op->o_tmpfree( cb, op->o_tmpmemctx );
|
||||
|
||||
} else if ( si->caching_reason != PC_IGNORE ) {
|
||||
CachedQuery *qc = qm->addfunc(op, qm, &si->query,
|
||||
si->qtemp, si->caching_reason, 1 );
|
||||
|
|
@ -2446,6 +2445,9 @@ over:;
|
|||
} else {
|
||||
filter_free( si->query.filter );
|
||||
}
|
||||
|
||||
op->o_callback = op->o_callback->sc_next;
|
||||
op->o_tmpfree( cb, op->o_tmpmemctx );
|
||||
}
|
||||
|
||||
return SLAP_CB_CONTINUE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue