1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Don't leak parsers when we fail to parse a shoutcast-compatible request.

svn path=/icecast/trunk/icecast/; revision=10978
This commit is contained in:
Michael Smith 2006-03-07 19:35:18 +00:00
parent c4dfb3f2fd
commit 043aa0b009

View File

@ -962,8 +962,10 @@ static void _handle_shoutcast_compatible (client_queue_t *node)
client->parser = parser;
_handle_source_request (client, shoutcast_mount, SHOUTCAST_SOURCE_AUTH);
}
else
else {
httpp_destroy (parser);
client_destroy (client);
}
free (http_compliant);
free (shoutcast_mount);
free (node);