git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13196 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-04-29 19:15:42 +00:00
parent eae616ef40
commit c078e1e43e
1 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,8 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status,
end:
if (sub_state == nua_substate_terminated && sofia_private != &mod_sofia_globals.destroy_private) {
if (sub_state == nua_substate_terminated && sofia_private && sofia_private != &mod_sofia_globals.destroy_private &&
sofia_private != &mod_sofia_globals.keep_private) {
sofia_private->destroy_nh = 1;
sofia_private->destroy_me = 1;
}