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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/101/head
Michael Niedermayer 10 years ago
parent 498396f80c
commit 43fb40c3c3
  1. 2
      libavfilter/vf_kerndeint.c

@ -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)

Loading…
Cancel
Save