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

FreeSWITCH SVN anthm at freeswitch.org
Tue Feb 24 15:30:17 PST 2009


Author: anthm
Date: Tue Feb 24 17:30:17 2009
New Revision: 12267

Log:
IRC-000

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	Tue Feb 24 17:30:17 2009
@@ -1778,6 +1778,12 @@
 		switch_event_destroy(&my_params);
 	}
 
+	if (status != SWITCH_STATUS_SUCCESS && root && *root) {
+		switch_xml_free(*root);
+		*root = NULL;
+		*domain = NULL;
+	}
+
 	return status;
 }
 



More information about the Freeswitch-svn mailing list