# HG changeset patch # User Olaf Wintermann # Date 1748193159 -7200 # Node ID cece9ef3547f2cea40177f21ede50369e768872e # Parent 1e60f78705d45925294dadcdfad210b9c6a3e045 use cxMempoolCreateSimple instead of cxMempoolCreate diff -r 1e60f78705d4 -r cece9ef3547f libidav/config.c --- 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; diff -r 1e60f78705d4 -r cece9ef3547f libidav/resource.c --- a/libidav/resource.c Mon May 19 22:56:44 2025 +0200 +++ b/libidav/resource.c Sun May 25 19:12:39 2025 +0200 @@ -786,7 +786,7 @@ } int dav_load_prop(DavResource *res, DavPropName *properties, size_t numprop) { - CxMempool *mp = cxMempoolCreate(64, NULL); + CxMempool *mp = cxMempoolCreateSimple(64); const CxAllocator *a = mp->allocator; CxList *proplist = cxArrayListCreate(a, NULL, sizeof(DavProperty), numprop);