]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove duplicate code
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 1 May 2007 18:53:02 +0000 (18:53 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 1 May 2007 18:53:02 +0000 (18:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5055 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index fc6d68087aa9c1fd83893020af97f2e4b15d09dc..c12a12b8e8327742bc7dd1236790299378bc89a4 100644 (file)
@@ -1272,10 +1272,6 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
 
                        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);