avfilter/f_metadata: do not memleak expr

pull/323/head
Paul B Mahol 6 years ago
parent 9c9d5bf257
commit a6e2cf5eb0
  1. 2
      libavfilter/f_metadata.c

@ -283,6 +283,8 @@ static av_cold void uninit(AVFilterContext *ctx)
{
MetadataContext *s = ctx->priv;
av_expr_free(s->expr);
s->expr = NULL;
if (s->avio_context) {
avio_closep(&s->avio_context);
}

Loading…
Cancel
Save