提交 9b5778f8 authored 作者: Rupa Schomaker's avatar Rupa Schomaker

dup -ERR so we can free it later

上级 f76f836b
......@@ -200,7 +200,7 @@ SWITCH_DECLARE(char *) switch_limit_status(const char *backend) {
/* locate impl, call appropriate func */
if (!(limit = get_backend(backend))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Limit subsystem %s not found!\n", backend);
switch_goto_status("-ERR", end);
switch_goto_status(strdup("-ERR"), end);
}
status = limit->status();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论