提交 413e442a authored 作者: Anthony Minessale's avatar Anthony Minessale

be more specific about what file to delete

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6483 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5322410e
...@@ -1699,7 +1699,7 @@ SWITCH_DECLARE(void) switch_xml_free(switch_xml_t xml) ...@@ -1699,7 +1699,7 @@ SWITCH_DECLARE(void) switch_xml_free(switch_xml_t xml)
} }
if (xml->free_path) { if (xml->free_path) {
if (!switch_stristr(".fsxml", xml->free_path)) { if (!switch_stristr("freeswitch.xml.fsxml", xml->free_path)) {
unlink(xml->free_path); unlink(xml->free_path);
} }
switch_safe_free(xml->free_path); switch_safe_free(xml->free_path);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论