From a818ec883747bf6a301e016bb83d9a6b4836cbf5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 12 Feb 2009 03:13:30 +0000 Subject: [PATCH] doh almost added a leak today git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11910 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_xml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_xml.c b/src/switch_xml.c index 5d9283c4a3..6d31de4bb2 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -1557,6 +1557,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_locate(const char *section, *root = switch_xml_parse_str(x, strlen(x)); *node = *root; switch_xml_free(xml); + free(x); } else { *node = tag; *root = xml;