--- a/src/server/config/mimeconf.c Fri Jan 31 21:01:48 2025 +0100 +++ b/src/server/config/mimeconf.c Fri Jan 31 21:27:54 2025 +0100 @@ -63,13 +63,13 @@ } void free_mime_config(MimeConfig *conf) { - 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 mimeconf_parse(void *p, ConfigLine *begin, ConfigLine *end, cxmutstr line) { MimeConfig *conf = p; - CxAllocator *mp = conf->parser.mp; + CxAllocator *mp = conf->parser.a; // parse mime directive MimeDirective *dir = OBJ_NEW_N(mp, MimeDirective);