[Freeswitch-svn] [commit] r12925 - freeswitch/trunk/src/mod/endpoints/mod_loopback
FreeSWITCH SVN
anthm at freeswitch.org
Mon Apr 6 14:01:15 PDT 2009
Author: anthm
Date: Mon Apr 6 16:01:14 2009
New Revision: 12925
Log:
null out pointer on failed read lock
Modified:
freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c
Modified: freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c Mon Apr 6 16:01:14 2009
@@ -267,6 +267,7 @@
if (tech_pvt->other_session) {
if (switch_core_session_read_lock(tech_pvt->other_session) != SWITCH_STATUS_SUCCESS) {
+ tech_pvt->other_session = NULL;
switch_channel_hangup(channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
goto end;
}
More information about the Freeswitch-svn
mailing list