]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5835 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 14 Oct 2013 16:03:39 +0000 (21:03 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 14 Oct 2013 16:03:42 +0000 (21:03 +0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 74b27f367623a56a3410d5995ecddc971c9b5de1..146d63b9738cd52c3133a86c92447111b7a53a7c 100644 (file)
@@ -4414,7 +4414,6 @@ int sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly)
                                        switch_channel_stop_broadcast(b_channel);
                                        switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_FALSE, 5000, NULL);
                                }
-                               switch_core_session_rwunlock(b_session);
                        }
 
                        sofia_clear_flag_locked(tech_pvt, TFLAG_SIP_HOLD);