From: Howard Chu Date: Thu, 15 Jan 2004 21:32:58 +0000 (+0000) Subject: sl_malloc tweak X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fc323049343002904771839f2e13bad91ff67fa1;p=openldap sl_malloc tweak --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index b0c24c12af..cb27cdb7aa 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -1312,7 +1312,7 @@ backend_group( } if ( op->o_tag != LDAP_REQ_BIND && !op->o_do_not_cache ) { - g = sl_malloc(sizeof(GroupAssertion) + gr_ndn->bv_len, op->o_tmpmemctx); + g = op->o_tmpalloc(sizeof(GroupAssertion) + gr_ndn->bv_len, op->o_tmpmemctx); g->ga_be = op->o_bd; g->ga_oc = group_oc; g->ga_at = group_at;