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

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Sun Jan 12 04:09:59 PST 2014


Author: ph3-der-loewe
Date: 2014-01-12 04:09:59 -0800 (Sun, 12 Jan 2014)
New Revision: 19052

Modified:
   icecast/trunk/icecast/src/cfgfile.c
Log:
avoid memory leak in _parse_mount() when "type"-attribuet is set

Modified: icecast/trunk/icecast/src/cfgfile.c
===================================================================
--- icecast/trunk/icecast/src/cfgfile.c	2014-01-10 21:55:43 UTC (rev 19051)
+++ icecast/trunk/icecast/src/cfgfile.c	2014-01-12 12:09:59 UTC (rev 19052)
@@ -576,6 +576,7 @@
             config_clear_mount (mount);
             return;
 	}
+	xmlFree(tmp);
     }
 
     node = node->xmlChildrenNode;



More information about the commits mailing list