src/server/config/acl.c

changeset 556
b036ccad4b49
parent 490
d218607f5a7e
--- a/src/server/config/acl.c	Sat Aug 24 18:34:13 2024 +0200
+++ b/src/server/config/acl.c	Sat Aug 24 22:37:12 2024 +0200
@@ -57,7 +57,10 @@
 }
 
 void free_acl_file(ACLFile *conf) {
-    //ucx_mempool_destroy(conf->parser.mp->pool);
+    cxListDestroy(conf->namedACLs);
+    cxListDestroy(conf->uriACLs);
+    cxListDestroy(conf->pathACLs);
+    cxMempoolDestroy(conf->parser.mp->data); // TODO: is there a better way to access the mempool?
     free(conf);
 }
 

mercurial