[Freeswitch-svn] [commit] r13129 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN mrene at freeswitch.org
Wed Apr 22 22:00:47 PDT 2009


Author: mrene
Date: Thu Apr 23 00:00:47 2009
New Revision: 13129

Log:
move rwunlock where it makes sense

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Thu Apr 23 00:00:47 2009
@@ -2838,8 +2838,8 @@
 				}
 
 				sofia_glue_toggle_hold(tech_pvt, 1);
-				switch_core_session_rwunlock(other_session);
 			}
+			switch_core_session_rwunlock(other_session);
 		}
 
 		switch_core_session_rwunlock(session);



More information about the Freeswitch-svn mailing list