mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
498396f80c
commit
43fb40c3c3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue