From f4904d09c5ffe60b3f974ea6279c7b77ac3c36fa Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 3 Nov 2008 15:45:38 +0000 Subject: [PATCH] fix FSCORE-215 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10220 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_channel.c b/src/switch_channel.c index 3a210a4674..49ce775ee6 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -2093,7 +2093,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_get_variables(switch_channel_t *c switch_status_t status; switch_mutex_lock(channel->profile_mutex); status = switch_event_dup(event, channel->variables); - switch_mutex_lock(channel->profile_mutex); + switch_mutex_unlock(channel->profile_mutex); return status; }