From: Anthony Minessale Date: Mon, 3 Nov 2008 15:45:38 +0000 (+0000) Subject: fix FSCORE-215 X-Git-Tag: v1.0.2~650 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4904d09c5ffe60b3f974ea6279c7b77ac3c36fa;p=thirdparty%2Ffreeswitch.git fix FSCORE-215 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10220 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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; }