1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

avfilter/f_metadata: do not memleak expr

This commit is contained in:
Paul B Mahol 2019-09-30 12:24:06 +02:00
parent 9c9d5bf257
commit a6e2cf5eb0

View File

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