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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-12-13 13:54:16 +01:00
parent 498396f80c
commit 43fb40c3c3
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ static av_cold void uninit(AVFilterContext *ctx)
{
KerndeintContext *kerndeint = ctx->priv;
av_free(kerndeint->tmp_data[0]);
av_freep(&kerndeint->tmp_data[0]);
}
static int query_formats(AVFilterContext *ctx)