src/server/config/keyfile.c

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

mercurial