summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-13 13:54:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-13 14:18:30 +0100
commit43fb40c3c321fdbfa841d6537841467749b55233 (patch)
tree39c611dd5b349f5a4ac2124cd1d97738a72f3dd7 /libavfilter
parent498396f80c2e70e291e2f6cae716aebc883bb761 (diff)
downloadffmpeg-streaming-43fb40c3c321fdbfa841d6537841467749b55233.zip
ffmpeg-streaming-43fb40c3c321fdbfa841d6537841467749b55233.tar.gz
avfilter/vf_kerndeint: use av_freep(), avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_kerndeint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 5130208..ccb8fbd 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)
OpenPOWER on IntegriCloud