Commit 338f6a0a authored by Jack Moffitt's avatar Jack Moffitt

Oddsock finally found the win32 crash bug. _event_listeners wasn't being

initialized (the first time it was NULL).  After the server is restarted
it retained a pointer to freed memory.  We should have been initializing
this anyway.

svn path=/trunk/icecast/; revision=3220
parent ea47fdf5
......@@ -59,6 +59,8 @@ static void _free_event(stats_event_t *event);
void stats_initialize()
{
_event_listeners = NULL;
/* set up global struct */
_stats.global_tree = avl_tree_new(_compare_stats, NULL);
_stats.source_tree = avl_tree_new(_compare_source_stats, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment