mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
o_pagedresults_state not freed from slab (only noticeable when built with SLAP_NO_SL_MALLOC; could be related to ITS#6660, although unlikely)
This commit is contained in:
parent
2b1b37cd4b
commit
aecd2f33d6
1 changed files with 5 additions and 0 deletions
|
|
@ -116,6 +116,11 @@ slap_op_free( Operation *op, void *ctx )
|
|||
BER_BVZERO( &op->o_csn );
|
||||
}
|
||||
|
||||
if ( op->o_pagedresults_state != NULL ) {
|
||||
op->o_tmpfree( op->o_pagedresults_state, op->o_tmpmemctx );
|
||||
op->o_pagedresults_state = NULL;
|
||||
}
|
||||
|
||||
opbuf = (OperationBuffer *) op;
|
||||
memset( opbuf, 0, sizeof(*opbuf) );
|
||||
op->o_hdr = &opbuf->ob_hdr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue