diff --git a/src/cfgfile.c b/src/cfgfile.c index ff760fbd..518d9d87 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -281,13 +281,11 @@ int config_parse_file(const char *filename, ice_config_t *configuration) node = xmlDocGetRootElement(doc); if (node == NULL) { xmlFreeDoc(doc); - xmlCleanupParser(); return CONFIG_ENOROOT; } if (xmlStrcmp (node->name, XMLSTR("icecast")) != 0) { xmlFreeDoc(doc); - xmlCleanupParser(); return CONFIG_EBADROOT; }