You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_libopencv: use av_freep() avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user