[Freeswitch-svn] [commit] r11910 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Feb 11 19:13:30 PST 2009


Author: anthm
Date: Wed Feb 11 21:13:30 2009
New Revision: 11910

Log:
doh almost added a leak today

Modified:
   freeswitch/trunk/src/switch_xml.c

Modified: freeswitch/trunk/src/switch_xml.c
==============================================================================
--- freeswitch/trunk/src/switch_xml.c	(original)
+++ freeswitch/trunk/src/switch_xml.c	Wed Feb 11 21:13:30 2009
@@ -1557,6 +1557,7 @@
 				*root = switch_xml_parse_str(x, strlen(x));
 				*node = *root;
 				switch_xml_free(xml);
+				free(x);
 			} else {
 				*node = tag;
 				*root = xml;



More information about the Freeswitch-svn mailing list