You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/af_adelay: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -246,7 +246,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < s->nb_delays; i++)
|
||||
av_free(s->chandelay[i].samples);
|
||||
av_freep(&s->chandelay[i].samples);
|
||||
av_freep(&s->chandelay);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user