From: Anthony Minessale Date: Tue, 4 Dec 2007 01:19:22 +0000 (+0000) Subject: be more specific about what file to delete X-Git-Tag: v1.0-rc1~1337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=413e442ab4fa6dc07a2f41dc5bfd733b38649523;p=thirdparty%2Ffreeswitch.git be more specific about what file to delete git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6483 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_xml.cpp b/src/switch_xml.cpp index 228b29a174..3c35c87978 100644 --- a/src/switch_xml.cpp +++ b/src/switch_xml.cpp @@ -1699,7 +1699,7 @@ SWITCH_DECLARE(void) switch_xml_free(switch_xml_t xml) } if (xml->free_path) { - if (!switch_stristr(".fsxml", xml->free_path)) { + if (!switch_stristr("freeswitch.xml.fsxml", xml->free_path)) { unlink(xml->free_path); } switch_safe_free(xml->free_path);