Skip to content
Snippets Groups Projects
Commit 93e412e2 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

o_pagedresults_state not freed from slab

parent fa009602
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment