Commit 498396f8 authored by Michael Niedermayer's avatar Michael Niedermayer

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

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