[FFmpeg-cvslog] avfilter/af_superequalizer: stop leaking s->out frame

Paul B Mahol git at videolan.org
Mon Jun 19 19:35:40 EEST 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jun 19 18:34:04 2017 +0200| [1a4236e025a8d7a58b751958f536301322ff2521] | committer: Paul B Mahol

avfilter/af_superequalizer: stop leaking s->out frame

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a4236e025a8d7a58b751958f536301322ff2521
---

 libavfilter/af_superequalizer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/af_superequalizer.c b/libavfilter/af_superequalizer.c
index 2885d4f652..f38cca5c8b 100644
--- a/libavfilter/af_superequalizer.c
+++ b/libavfilter/af_superequalizer.c
@@ -302,6 +302,7 @@ static av_cold void uninit(AVFilterContext *ctx)
 {
     SuperEqualizerContext *s = ctx->priv;
 
+    av_frame_free(&s->out);
     av_freep(&s->irest);
     av_freep(&s->ires);
     av_freep(&s->fsamples);



More information about the ffmpeg-cvslog mailing list