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

ITS#5309 work

parent e176adaa
No related branches found
No related tags found
No related merge requests found
......@@ -117,13 +117,10 @@ slap_op_free( Operation *op, void *ctx )
op->o_controls = opbuf->ob_controls;
if ( ctx ) {
Operation *op2;
void *otmp = NULL;
ldap_pvt_thread_pool_getkey( ctx, (void *)slap_op_free, &otmp, NULL );
op2 = otmp;
LDAP_STAILQ_NEXT( op, o_next ) = op2;
void *op2 = NULL;
ldap_pvt_thread_pool_setkey( ctx, (void *)slap_op_free,
(void *)op, slap_op_q_destroy, NULL, NULL );
op, slap_op_q_destroy, &op2, NULL );
LDAP_STAILQ_NEXT( op, o_next ) = op2;
} else {
ber_memfree_x( op, NULL );
}
......
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