Commit 287d5be1 authored by Howard Chu's avatar Howard Chu
Browse files

Fix op_cleanup

parent 8d9509d8
......@@ -54,12 +54,13 @@ seqmod_op_cleanup( Operation *op, SlapReply *rs )
{
slap_callback *sc = op->o_callback;
seqmod_info *sm = sc->sc_private;
modtarget *mt;
modtarget *mt, mtdummy;
Avlnode *av;
mtdummy.mt_op = op;
/* This op is done, remove it */
ldap_pvt_thread_mutex_lock( &sm->sm_mutex );
av = avl_find2( sm->sm_mods, mt, sm_avl_cmp );
av = avl_find2( sm->sm_mods, &mtdummy, sm_avl_cmp );
assert(av);
mt = av->avl_data;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment