From: Arran Cudbard-Bell Date: Thu, 15 Oct 2020 15:44:41 +0000 (-0500) Subject: Provide a fixup pool X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e2618d66cf67d0b04c19e86b2d5458dd8f7fd24;p=thirdparty%2Ffreeradius-server.git Provide a fixup pool --- diff --git a/src/lib/util/dict_tokenize.c b/src/lib/util/dict_tokenize.c index 15447f37544..77911c7c8cf 100644 --- a/src/lib/util/dict_tokenize.c +++ b/src/lib/util/dict_tokenize.c @@ -2461,6 +2461,7 @@ static int dict_from_file(fr_dict_t *dict, memset(&ctx, 0, sizeof(ctx)); ctx.dict = dict; + ctx.fixup_pool = talloc_pool(NULL, DICT_FIXUP_POOL_SIZE); ctx.stack[0].dict = dict; ctx.stack[0].da = dict->root; ctx.stack[0].nest = FR_TYPE_MAX;