mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-06-30 22:18:19 -04: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;
|
server = NULL;
|
||||||
addnode = 0;
|
addnode = 0;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
free (server);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user