提交 498396f8 编写于 作者: M Michael Niedermayer

avfilter/vf_unsharp: use av_freep() avoid leaving stale pointers in memory

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 792a5004
......@@ -215,7 +215,7 @@ static void free_filter_param(UnsharpFilterParam *fp)
int z;
for (z = 0; z < 2 * fp->steps_y; z++)
av_free(fp->sc[z]);
av_freep(&fp->sc[z]);
}
static av_cold void uninit(AVFilterContext *ctx)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册