Commit 2d6f3173 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/af_adelay: use av_freep(), do not leave stale pointers in memory

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent aba873bb
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment