Skip to content
Snippets Groups Projects
Commit 7213d3fb authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avfilter/avf_showfreqs: Free fin


Fixes CID1322345

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent a3ad51e0
No related branches found
No related tags found
No related merge requests found
...@@ -501,6 +501,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) ...@@ -501,6 +501,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
goto fail; goto fail;
ret = plot_freqs(inlink, fin); ret = plot_freqs(inlink, fin);
av_frame_free(&fin);
av_audio_fifo_drain(s->fifo, s->skip_samples); av_audio_fifo_drain(s->fifo, s->skip_samples);
if (ret < 0) if (ret < 0)
goto fail; goto fail;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment