libidav/config.c

changeset 108
77254bd6dccb
parent 102
64ded9f6a6c6
--- a/libidav/config.c	Sat Apr 05 17:57:04 2025 +0200
+++ b/libidav/config.c	Sun Jul 20 22:04: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