555:66b0accda0a8 | 556:b036ccad4b49 |
---|---|
61 | 61 |
62 return conf; | 62 return conf; |
63 } | 63 } |
64 | 64 |
65 void free_mime_config(MimeConfig *conf) { | 65 void free_mime_config(MimeConfig *conf) { |
66 //ucx_mempool_destroy(conf->parser.mp->pool); | 66 cxMempoolDestroy(conf->parser.mp->data); // TODO: is there a better way to access the mempool? |
67 free(conf); | 67 free(conf); |
68 } | 68 } |
69 | 69 |
70 int mimeconf_parse(void *p, ConfigLine *begin, ConfigLine *end, cxmutstr line) { | 70 int mimeconf_parse(void *p, ConfigLine *begin, ConfigLine *end, cxmutstr line) { |
71 MimeConfig *conf = p; | 71 MimeConfig *conf = p; |