]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix FSCORE-215
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 3 Nov 2008 15:45:38 +0000 (15:45 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 3 Nov 2008 15:45:38 +0000 (15:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10220 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_channel.c

index 3a210a46746cd6efabe00db1d0d28609c554a58f..49ce775ee6dd89e6f87f9e19949b60a467f14aab 100644 (file)
@@ -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;
 }