1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

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
This commit is contained in:
Jack Moffitt 2002-04-05 16:33:35 +00:00
parent ea47fdf504
commit 338f6a0a31

View File

@ -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);