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:
parent
3cf24e0af7
commit
2848a70776
@ -1039,6 +1039,9 @@ static void _add_server(xmlDocPtr doc, xmlNodePtr node,
|
||||
server = NULL;
|
||||
addnode = 0;
|
||||
}
|
||||
else {
|
||||
free (server);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user