提交 ad9bf329 authored 作者: Mathieu Rene's avatar Mathieu Rene

doh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11957 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0eceb861
......@@ -727,7 +727,7 @@ SWITCH_STANDARD_APP(limit_function)
if (argc < 3) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "USAGE: limit %s\n", LIMIT_USAGE);
goto done;
goto end;
}
switch_mutex_lock(globals.mutex);
......@@ -781,8 +781,9 @@ SWITCH_STANDARD_APP(limit_function)
switch_channel_set_variable(channel, "limit_usage", switch_core_session_sprintf(session, "%d", ++got));
done:
switch_safe_free(mydata);
switch_mutex_unlock(globals.mutex);
end:
switch_safe_free(mydata);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论