From 43fb40c3c321fdbfa841d6537841467749b55233 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 13 Dec 2014 13:54:16 +0100 Subject: [PATCH] avfilter/vf_kerndeint: use av_freep(), avoid leaving stale pointers in memory Signed-off-by: Michael Niedermayer --- libavfilter/vf_kerndeint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c index 5130208d4b..ccb8fbd810 100644 --- a/libavfilter/vf_kerndeint.c +++ b/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)