aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-09-05 15:32:00 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-05 15:32:00 +0200
commit7213d3fbf30b6be53c272c1c61c797a2b7b697a0 (patch)
treede0eb084fdc2238ebd4e7a0bb1395bf579f20ed2
parenta3ad51e0d5b3ff6634c1be6322ce82c17105e82b (diff)
downloadffmpeg-7213d3fbf30b6be53c272c1c61c797a2b7b697a0.tar.gz
avfilter/avf_showfreqs: Free fin
Fixes CID1322345 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavfilter/avf_showfreqs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c
index cbbf040c79..af32eae08e 100644
--- a/libavfilter/avf_showfreqs.c
+++ b/libavfilter/avf_showfreqs.c
@@ -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;