src/server/config/conf.c

changeset 579
e10457d74fe1
parent 576
5c31cc844c68
--- a/src/server/config/conf.c	Mon Feb 10 17:44:51 2025 +0100
+++ b/src/server/config/conf.c	Sun Mar 02 18:10:52 2025 +0100
@@ -34,7 +34,7 @@
 int cfg_parse_basic_file(ConfigParser *parser, FILE *in) {
     parser->lines_begin = NULL;
     parser->lines_end = NULL;
-    CxMempool *mp = cxBasicMempoolCreate(512);
+    CxMempool *mp = cxMempoolCreateSimple(512);
     CxAllocator *a = (CxAllocator*)mp->allocator;
     parser->a = a;
     parser->mp = mp;

mercurial