libidav/config.c

changeset 869
cece9ef3547f
parent 854
1c8401ece69e
--- a/libidav/config.c	Mon May 19 22:56:44 2025 +0200
+++ b/libidav/config.c	Sun May 25 19:12:39 2025 +0200
@@ -198,7 +198,7 @@
 
 
 DavConfig* dav_config_new(xmlDoc *doc) {
-    CxMempool *cfg_mp = cxMempoolCreate(128, NULL);
+    CxMempool *cfg_mp = cxMempoolCreateSimple(128);
     DavConfig *config = cxMalloc(cfg_mp->allocator, sizeof(DavConfig));
     memset(config, 0, sizeof(DavConfig));
     config->mp = cfg_mp;

mercurial