potential xml root readlock issue

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11977 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-02-13 00:08:12 +00:00
parent 294e788056
commit 4e2ae22d67
2 changed files with 12 additions and 12 deletions

View File

@@ -2391,9 +2391,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
done:
if (xml) {
switch_xml_free(xml);
}
switch_xml_free(xml);
if (params) {
switch_event_destroy(&params);