[FFmpeg-cvslog] avfilter/af_anequalizer: Fix memleak of args
Michael Niedermayer
git at videolan.org
Mon Feb 8 01:55:42 CET 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Feb 8 00:39:15 2016 +0100| [05924e1440fd04cc0f1ab0c0899a8ce344bd5632] | committer: Michael Niedermayer
avfilter/af_anequalizer: Fix memleak of args
Fixes CID1351355
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=05924e1440fd04cc0f1ab0c0899a8ce344bd5632
---
libavfilter/af_anequalizer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c
index 649c0b9..b646814 100644
--- a/libavfilter/af_anequalizer.c
+++ b/libavfilter/af_anequalizer.c
@@ -585,6 +585,7 @@ static int config_input(AVFilterLink *inlink)
s->filters = av_calloc(inlink->channels, 32 * sizeof(*s->filters));
if (!s->filters) {
s->nb_allocated = 0;
+ av_free(args);
return AVERROR(ENOMEM);
}
More information about the ffmpeg-cvslog
mailing list