src/server/config/acl.c

changeset 88
73b3485e96f1
parent 79
f48cea237ec3
child 91
fac51f87def0
equal deleted inserted replaced
87:bdec069d2239 88:73b3485e96f1
57 57
58 return conf; 58 return conf;
59 } 59 }
60 60
61 void free_acl_file(ACLFile *conf) { 61 void free_acl_file(ACLFile *conf) {
62 ucx_mempool_free(conf->parser.mp); 62 ucx_mempool_destroy(conf->parser.mp);
63 free(conf); 63 free(conf);
64 } 64 }
65 65
66 int acl_parse(void *p, ConfigLine *begin, ConfigLine *end, sstr_t line) { 66 int acl_parse(void *p, ConfigLine *begin, ConfigLine *end, sstr_t line) {
67 ACLFile *aclf = p; 67 ACLFile *aclf = p;

mercurial