提交 2d6f3173 编写于 作者: M Michael Niedermayer

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

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册