From: Brian West Date: Thu, 14 Feb 2008 01:53:20 +0000 (+0000) Subject: move up a line X-Git-Tag: v1.0-rc1~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=352f13e480f89f5354918e71013c9658a42796d2;p=thirdparty%2Ffreeswitch.git move up a line git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7602 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core_media_bug.c b/src/switch_core_media_bug.c index b87a8cf3dd..a509ae750f 100644 --- a/src/switch_core_media_bug.c +++ b/src/switch_core_media_bug.c @@ -283,8 +283,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_remove_all(switch_core_ses 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; }