From: Anthony Minessale Date: Thu, 16 Oct 2014 21:04:15 +0000 (-0500) Subject: actual fix for commit cff5209ca3582994dae1353372e2f91b345ab959 which was in the wrong... X-Git-Tag: v1.4.13~1^2~36^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e1040733686e9117a41a0215762f3e84f49903c;p=thirdparty%2Ffreeswitch.git actual fix for commit cff5209ca3582994dae1353372e2f91b345ab959 which was in the wrong place --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 21f4aa1c90..e93f0cc8a9 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2073,6 +2073,7 @@ void sofia_event_callback(nua_event_t event, switch_mutex_lock(profile->flag_mutex); switch_core_hash_insert(profile->chat_hash, tech_pvt->call_id, strdup(switch_core_session_get_uuid(session))); switch_mutex_unlock(profile->flag_mutex); + nua_handle_destroy(nh); } else { switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER); }