don't leave 'round pointers to buffers on the stack

This commit is contained in:
Pierangelo Masarati 2008-01-02 23:08:04 +00:00
parent 2969c69747
commit 741efa1674

View file

@ -719,5 +719,8 @@ done:
slap_sl_free( (*postread_ctrl)->ldctl_value.bv_val, op->o_tmpmemctx );
slap_sl_free( *postread_ctrl, op->o_tmpmemctx );
}
rs->sr_text = NULL;
return rs->sr_err;
}