Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
4d48ea3c4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_libopencv.c

+ 1
- 1
libavfilter/vf_libopencv.c View File

@@ -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)


Loading…
Cancel
Save