Commit 7213d3fb authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_showfreqs: Free fin

Fixes CID1322345
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a3ad51e0
......@@ -501,6 +501,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
goto fail;
ret = plot_freqs(inlink, fin);
av_frame_free(&fin);
av_audio_fifo_drain(s->fifo, s->skip_samples);
if (ret < 0)
goto fail;
......
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