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

Freeswitch SVN anthm at freeswitch.org
Tue May 1 14:53:03 EDT 2007


Author: anthm
Date: Tue May  1 14:53:02 2007
New Revision: 5055

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

Log:
remove duplicate code

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	Tue May  1 14:53:02 2007
@@ -1272,10 +1272,6 @@
 
 			tech_pvt->nh = NULL;
 			
-			switch_mutex_lock(profile->flag_mutex);
-			profile->inuse--;
-			switch_mutex_unlock(profile->flag_mutex);
-			
 		} else if (sofia_private) {
 			if (sofia_private->home) {
 				su_home_unref(sofia_private->home);



More information about the Freeswitch-svn mailing list