[FFmpeg-cvslog] avfilter/avf_showfreqs: Free fin
Michael Niedermayer
git at videolan.org
Sat Sep 5 15:47:47 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Sep 5 15:32:00 2015 +0200| [7213d3fbf30b6be53c272c1c61c797a2b7b697a0] | committer: Michael Niedermayer
avfilter/avf_showfreqs: Free fin
Fixes CID1322345
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7213d3fbf30b6be53c272c1c61c797a2b7b697a0
---
libavfilter/avf_showfreqs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c
index cbbf040..af32eae 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;
More information about the ffmpeg-cvslog
mailing list