mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#7909 fix slap_callback init
This commit is contained in:
parent
e091e0bb63
commit
e5dae640f2
@ -178,7 +178,7 @@ rwm_callback_get( Operation *op )
|
|||||||
{
|
{
|
||||||
rwm_op_cb *roc;
|
rwm_op_cb *roc;
|
||||||
|
|
||||||
roc = op->o_tmpalloc( sizeof( struct rwm_op_cb ), op->o_tmpmemctx );
|
roc = op->o_tmpcalloc( 1, sizeof( struct rwm_op_cb ), op->o_tmpmemctx );
|
||||||
roc->cb.sc_cleanup = rwm_op_cleanup;
|
roc->cb.sc_cleanup = rwm_op_cleanup;
|
||||||
roc->cb.sc_response = NULL;
|
roc->cb.sc_response = NULL;
|
||||||
roc->cb.sc_next = op->o_callback;
|
roc->cb.sc_next = op->o_callback;
|
||||||
|
Loading…
Reference in New Issue
Block a user