Commit 4d48ea3c authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4e1ecfe2
......@@ -348,7 +348,7 @@ static av_cold void uninit(AVFilterContext *ctx)
if (s->uninit)
s->uninit(ctx);
av_free(s->priv);
av_freep(&s->priv);
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment