src/server/config/conf.c

changeset 99
b9a6af0ae41a
parent 95
74a81d9e19d0
child 115
51d9a15eac98
--- a/src/server/config/conf.c	Mon Apr 06 16:36:25 2015 +0200
+++ b/src/server/config/conf.c	Fri Oct 16 19:23:49 2015 +0200
@@ -33,7 +33,7 @@
 int cfg_parse_basic_file(ConfigParser *parser, FILE *in) {
     parser->lines = NULL;
     UcxMempool *mp = ucx_mempool_new(512);
-    parser->mp = ucx_mempool_allocator(mp);
+    parser->mp = mp->allocator;
 
     // one logical line over many lines
     sstr_t mline;

mercurial