[xiph-commits] r18796 - icecast/trunk/icecast/src

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Sat Feb 23 08:38:23 PST 2013


Author: ph3-der-loewe
Date: 2013-02-23 08:38:23 -0800 (Sat, 23 Feb 2013)
New Revision: 18796

Modified:
   icecast/trunk/icecast/src/cfgfile.c
Log:
do not call xmlCleanupParser() too often, close #1931

Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c	2013-02-23 14:47:55 UTC (rev 18795)
+++ icecast/trunk/icecast/src/cfgfile.c	2013-02-23 16:38:23 UTC (rev 18796)
@@ -281,13 +281,11 @@
     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;
     }
 



More information about the commits mailing list