avfilter/vf_signature: Fix leak of inpads' names

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/350/head
Andreas Rheinhardt 4 years ago
parent 4c5d6e87ac
commit 37838417b8
  1. 2
      libavfilter/vf_signature.c

@ -730,6 +730,8 @@ static av_cold void uninit(AVFilterContext *ctx)
}
av_freep(&sic->streamcontexts);
}
for (unsigned i = 0; i < ctx->nb_inputs; i++)
av_freep(&ctx->input_pads[i].name);
}
static int config_output(AVFilterLink *outlink)

Loading…
Cancel
Save