move rwunlock where it makes sense

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13129 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-04-23 05:00:47 +00:00
parent 5770dbebbd
commit 351b150384
1 changed files with 1 additions and 1 deletions

View File

@ -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);