提交 bc49f642 authored 作者: Michael Jerris's avatar Michael Jerris

fix segfault

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15175 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 60988276
......@@ -751,7 +751,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session
if (switch_core_session_dequeue_event(session, &event, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
char *command = switch_event_get_header(event, "eavesdrop-command");
if (command) {
fcommand = command;
fcommand = switch_core_session_strdup(session, command);
}
switch_event_destroy(&event);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论