From c8c7d94f4b275681efbf9a6dc6aa8da929c65e54 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 29 Jun 2009 17:30:55 +0000 Subject: [PATCH] fix FSCORE-391 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14030 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index f409839485..d51f4fd0f1 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -3075,6 +3075,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status || (switch_xml_locate_domain(p_contact->m_url->url_host, NULL, &root, &domain) == SWITCH_STATUS_SUCCESS)) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Redirect: Transfering to %s\n", p_contact->m_url->url_user); switch_ivr_session_transfer(a_session, p_contact->m_url->url_user, NULL, NULL); + switch_xml_free(root); } else { invite_contact = sofia_glue_strip_uri(full_contact); tech_pvt->redirected = switch_core_session_strdup(session, invite_contact);