mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05: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:
parent
c4dfb3f2fd
commit
043aa0b009
@ -962,8 +962,10 @@ static void _handle_shoutcast_compatible (client_queue_t *node)
|
|||||||
client->parser = parser;
|
client->parser = parser;
|
||||||
_handle_source_request (client, shoutcast_mount, SHOUTCAST_SOURCE_AUTH);
|
_handle_source_request (client, shoutcast_mount, SHOUTCAST_SOURCE_AUTH);
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
httpp_destroy (parser);
|
||||||
client_destroy (client);
|
client_destroy (client);
|
||||||
|
}
|
||||||
free (http_compliant);
|
free (http_compliant);
|
||||||
free (shoutcast_mount);
|
free (shoutcast_mount);
|
||||||
free (node);
|
free (node);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user