提交 53b4dd3e authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-5262 --resolve

上级 79be96aa
...@@ -4811,7 +4811,7 @@ SWITCH_STANDARD_API(show_function) ...@@ -4811,7 +4811,7 @@ SWITCH_STANDARD_API(show_function)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n");
holder.stream->write_function(holder.stream, "-ERR Memory Error!\n"); holder.stream->write_function(holder.stream, "-ERR Memory Error!\n");
} else { } else {
holder.stream->write_function(holder.stream, json_text); holder.stream->write_function(holder.stream, "%s", json_text);
} }
cJSON_Delete(result); cJSON_Delete(result);
switch_safe_free(json_text); switch_safe_free(json_text);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论