From: Mathieu Rene Date: Thu, 23 Apr 2009 05:00:47 +0000 (+0000) Subject: move rwunlock where it makes sense X-Git-Tag: v1.0.4~1068 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351b1503847e367d882097ef482aace58aa046eb;p=thirdparty%2Ffreeswitch.git move rwunlock where it makes sense git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13129 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index d8397c3e8a..e8e7f38133 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2838,8 +2838,8 @@ void *SWITCH_THREAD_FUNC media_on_hold_thread_run(switch_thread_t *thread, void } sofia_glue_toggle_hold(tech_pvt, 1); - switch_core_session_rwunlock(other_session); } + switch_core_session_rwunlock(other_session); } switch_core_session_rwunlock(session);