Commit 43fb40c3 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 498396f8
...@@ -63,7 +63,7 @@ static av_cold void uninit(AVFilterContext *ctx) ...@@ -63,7 +63,7 @@ static av_cold void uninit(AVFilterContext *ctx)
{ {
KerndeintContext *kerndeint = ctx->priv; KerndeintContext *kerndeint = ctx->priv;
av_free(kerndeint->tmp_data[0]); av_freep(&kerndeint->tmp_data[0]);
} }
static int query_formats(AVFilterContext *ctx) static int query_formats(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