提交 20c1fb1d authored 作者: Anthony Minessale's avatar Anthony Minessale

fix fix of the fixed fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9344 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ce559f54
......@@ -1255,7 +1255,9 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
break;
}
switch_event_safe_destroy((&revent));
if (revent) {
switch_event_destroy(&revent);
}
if (*reply != '\0') {
if (*reply == '~') {
......@@ -1271,7 +1273,9 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
done:
switch_event_safe_destroy((&revent));
if (revent) {
switch_event_destroy(&revent);
}
remove_listener(listener);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论