From a5163365a0400bf004452979a40d9363d41df426 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sat, 23 Feb 2013 16:38:23 +0000 Subject: [PATCH] do not call xmlCleanupParser() too often, close #1931 svn path=/icecast/trunk/icecast/; revision=18796 --- src/cfgfile.c | 2 -- 1 file changed, 2 deletions(-) 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; }