1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-01-03 14:56:34 -05:00

Fix a leak in a config parsing path when we see a directory server with no

host specified.

svn path=/icecast/trunk/icecast/; revision=10974
This commit is contained in:
Michael Smith 2006-03-07 19:21:04 +00:00
parent 3cf24e0af7
commit 2848a70776

View File

@ -1039,6 +1039,9 @@ static void _add_server(xmlDocPtr doc, xmlNodePtr node,
server = NULL;
addnode = 0;
}
else {
free (server);
}
}