--- a/src/server/config/objconf.c Wed Nov 12 18:15:26 2025 +0100 +++ b/src/server/config/objconf.c Wed Nov 12 18:18:05 2025 +0100 @@ -41,7 +41,7 @@ */ -ObjectConfig2* objectconf_load(const char *file) { +ObjectConfig* objectconf_load(const char *file) { CxMempool *mp = cxMempoolCreateSimple(512); if(!mp) { return NULL; @@ -64,7 +64,7 @@ return NULL; } - ObjectConfig2 *conf = cxMalloc(mp->allocator, sizeof(ObjectConfig2)); + ObjectConfig *conf = cxMalloc(mp->allocator, sizeof(ObjectConfig)); if(!conf) { cxMempoolFree(mp); return NULL; @@ -76,7 +76,7 @@ return conf; } -void objectconf_free(ObjectConfig2 *objconf) { +void objectconf_free(ObjectConfig *objconf) { cxMempoolFree(objconf->mp); } @@ -189,14 +189,3 @@ } -void free_object_config(ObjectConfig *conf) { - // free other lists - if(conf->levels) { - //ucx_list_free(conf->levels); - } - - // free mempool - //ucx_mempool_destroy(conf->parser.mp->pool); - free(conf); -} -