src/server/config/acl.c

changeset 579
e10457d74fe1
parent 576
5c31cc844c68
--- a/src/server/config/acl.c	Mon Feb 10 17:44:51 2025 +0100
+++ b/src/server/config/acl.c	Sun Mar 02 18:10:52 2025 +0100
@@ -57,10 +57,10 @@
 }
 
 void free_acl_file(ACLFile *conf) {
-    cxListDestroy(conf->namedACLs);
-    cxListDestroy(conf->uriACLs);
-    cxListDestroy(conf->pathACLs);
-    cxMempoolDestroy(conf->parser.a->data); // TODO: is there a better way to access the mempool?
+    cxListFree(conf->namedACLs);
+    cxListFree(conf->uriACLs);
+    cxListFree(conf->pathACLs);
+    cxMempoolFree(conf->parser.a->data); // TODO: is there a better way to access the mempool?
     free(conf);
 }
 

mercurial