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

drip, drip, drip... whoops.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6893 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ddd0b667
......@@ -166,7 +166,7 @@ static void event_handler(switch_event_t *event)
switch (event->event_id) {
case SWITCH_EVENT_LOG:
return;
goto end;
default:
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Multicast-Sender", "%s", globals.hostname);
if (switch_event_serialize(event, &packet, SWITCH_TRUE) == SWITCH_STATUS_SUCCESS) {
......@@ -180,6 +180,9 @@ static void event_handler(switch_event_t *event)
break;
}
}
end:
free(buf);
return;
}
......@@ -318,6 +321,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_event_multicast_runtime)
}
globals.running = 0;
free(buf);
return SWITCH_STATUS_TERM;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论