mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
avfilter/af_anequalizer: Fix memleak of args
Fixes CID1351355 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e7786959cc
commit
05924e1440
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user