From fc323049343002904771839f2e13bad91ff67fa1 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 15 Jan 2004 21:32:58 +0000 Subject: [PATCH] sl_malloc tweak --- servers/slapd/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5