diff -r bbca8e94fa67 -r 5c31cc844c68 src/server/config/acl.c --- a/src/server/config/acl.c Fri Jan 31 21:01:48 2025 +0100 +++ b/src/server/config/acl.c Fri Jan 31 21:27:54 2025 +0100 @@ -60,13 +60,13 @@ cxListDestroy(conf->namedACLs); cxListDestroy(conf->uriACLs); cxListDestroy(conf->pathACLs); - cxMempoolDestroy(conf->parser.mp->data); // TODO: is there a better way to access the mempool? + cxMempoolDestroy(conf->parser.a->data); // TODO: is there a better way to access the mempool? free(conf); } int acl_parse(void *p, ConfigLine *begin, ConfigLine *end, cxmutstr line) { ACLFile *aclf = p; - CxAllocator *mp = aclf->parser.mp; + CxAllocator *mp = aclf->parser.a; if(cx_strprefix(cx_strcast(line), cx_str("ACL "))) { cxmutstr param = cx_strsubs_m(line, 4); @@ -114,7 +114,7 @@ int parse_ace(ACLFile *f, cxmutstr line) { ACLConfig *cur = f->cur; - CxAllocator *mp = f->parser.mp; + CxAllocator *mp = f->parser.a; cxstring *tk = NULL; ssize_t tkn = cx_strsplit_a(mp, cx_strcast(line), cx_str(":"), ACE_MAX_TOKENS, &tk);