[Freeswitch-svn] [commit] r7602 - freeswitch/trunk/src

Freeswitch SVN brian at freeswitch.org
Wed Feb 13 20:53:20 EST 2008


Author: brian
Date: Wed Feb 13 20:53:20 2008
New Revision: 7602

Modified:
   freeswitch/trunk/src/switch_core_media_bug.c

Log:
move up a line

Modified: freeswitch/trunk/src/switch_core_media_bug.c
==============================================================================
--- freeswitch/trunk/src/switch_core_media_bug.c	(original)
+++ freeswitch/trunk/src/switch_core_media_bug.c	Wed Feb 13 20:53:20 2008
@@ -283,8 +283,8 @@
 			switch_core_media_bug_destroy(bp);
 			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Removing BUG from %s\n", switch_channel_get_name(session->channel));
 		}
-		switch_thread_rwlock_unlock(session->bug_rwlock);
 		session->bugs = NULL;
+		switch_thread_rwlock_unlock(session->bug_rwlock);
 		return SWITCH_STATUS_SUCCESS;
 	}
 	



More information about the Freeswitch-svn mailing list