[Freeswitch-svn] [commit] r13196 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN anthm at freeswitch.org
Wed Apr 29 12:15:42 PDT 2009


Author: anthm
Date: Wed Apr 29 14:15:42 2009
New Revision: 13196

Log:
doh

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Wed Apr 29 14:15:42 2009
@@ -262,7 +262,8 @@
 	
  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;
 	}



More information about the Freeswitch-svn mailing list