Commit 043aa0b0 authored by Michael Smith's avatar Michael Smith
Browse files

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

svn path=/icecast/trunk/icecast/; revision=10978
parent c4dfb3f2
......@@ -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 {
httpp_destroy (parser);
client_destroy (client);
free (http_compliant);
free (shoutcast_mount);
free (node);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment