Commit c1ef9f56 authored by Philipp Schafft's avatar Philipp Schafft 🦁 Committed by Philipp Schafft
Browse files

Fix: Avoid leaking memory in case of bad input files

parent 081a5a24
......@@ -175,6 +175,8 @@ int input_calculate_ogg_sleep(ogg_page *page)
LOG_ERROR0("Timing control: can't determine sample rate for input, not vorbis.");
control.samplerate = 0;
vorbis_info_clear (&vi);
ogg_stream_clear (&os);
return -1;
Markdown is supported
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