mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
free filter before overlays' cleanup callback
This commit is contained in:
parent
d0dd945882
commit
adc358f664
@ -532,6 +532,10 @@ finish:;
|
|||||||
ldap_back_quarantine( op, rs );
|
ldap_back_quarantine( op, rs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( filter.bv_val != op->ors_filterstr.bv_val ) {
|
||||||
|
op->o_tmpfree( filter.bv_val, op->o_tmpmemctx );
|
||||||
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* let send_ldap_result play cleanup handlers (ITS#4645) */
|
/* let send_ldap_result play cleanup handlers (ITS#4645) */
|
||||||
if ( rc != SLAPD_ABANDON )
|
if ( rc != SLAPD_ABANDON )
|
||||||
@ -557,10 +561,6 @@ finish:;
|
|||||||
rs->sr_matched = save_matched;
|
rs->sr_matched = save_matched;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( filter.bv_val != op->ors_filterstr.bv_val ) {
|
|
||||||
op->o_tmpfree( filter.bv_val, op->o_tmpmemctx );
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( rs->sr_text ) {
|
if ( rs->sr_text ) {
|
||||||
if ( freetext ) {
|
if ( freetext ) {
|
||||||
LDAP_FREE( (char *)rs->sr_text );
|
LDAP_FREE( (char *)rs->sr_text );
|
||||||
|
Loading…
Reference in New Issue
Block a user