mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Fixed leak in codec Speex codec probing code.
Thanks to Xogium for finding and debugging this! Fixes: #2377
This commit is contained in:
parent
1b94dea420
commit
cf9c8cf9ad
@ -82,6 +82,9 @@ ogg_codec_t *initial_speex_page (format_plugin_t *plugin, ogg_page *page)
|
||||
* again for something else.
|
||||
*/
|
||||
if (packet.bytes < 80) {
|
||||
ICECAST_LOG_DDEBUG("Header too small for Speex, so skipping Speex test.");
|
||||
ogg_stream_clear (&codec->os);
|
||||
free (codec);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user