mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
Add the omitted part from the original buddy allocator commit
This commit is contained in:
parent
83fd442ded
commit
7fa860ef16
1 changed files with 2 additions and 2 deletions
|
|
@ -946,7 +946,7 @@ connection_operation( void *ctx, void *arg_v )
|
|||
#endif
|
||||
memsiz = SLAP_SLAB_SIZE;
|
||||
|
||||
memctx = slap_sl_mem_create( memsiz, ctx );
|
||||
memctx = slap_sl_mem_create( memsiz, SLAP_SLAB_STACK, ctx );
|
||||
op->o_tmpmemctx = memctx;
|
||||
op->o_tmpmfuncs = &slap_sl_mfuncs;
|
||||
if ( tag != LDAP_REQ_ADD && tag != LDAP_REQ_MODIFY ) {
|
||||
|
|
@ -1704,7 +1704,7 @@ connection_fake_init(
|
|||
conn->c_peer_name = slap_empty_bv;
|
||||
|
||||
/* set memory context */
|
||||
op->o_tmpmemctx = slap_sl_mem_create( SLAP_SLAB_SIZE, ctx );
|
||||
op->o_tmpmemctx = slap_sl_mem_create(SLAP_SLAB_SIZE, SLAP_SLAB_STACK, ctx);
|
||||
op->o_tmpmfuncs = &slap_sl_mfuncs;
|
||||
op->o_threadctx = ctx;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue