提交 31e3dd9a authored 作者: Brian West's avatar Brian West

destroy the event that we duped in the handler so we don't leak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14145 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e2980e03
......@@ -86,6 +86,7 @@ SWITCH_DECLARE(Event *) EventConsumer::pop(int block)
if ((event = (switch_event_t *) pop)) {
ret = new Event(event);
switch_event_destroy(&event);
}
return ret;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论