You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/af_anequalizer: Fix memleak of args
Fixes CID1351355 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -585,6 +585,7 @@ static int config_input(AVFilterLink *inlink)
|
|||||||
s->filters = av_calloc(inlink->channels, 32 * sizeof(*s->filters));
|
s->filters = av_calloc(inlink->channels, 32 * sizeof(*s->filters));
|
||||||
if (!s->filters) {
|
if (!s->filters) {
|
||||||
s->nb_allocated = 0;
|
s->nb_allocated = 0;
|
||||||
|
av_free(args);
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user