You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user