avfilter/zscale: fix memory leak

This commit is contained in:
dxfhgwet 2017-10-27 21:54:13 -07:00 committed by Paul B Mahol
parent b43d13144b
commit ff763351e7
1 changed files with 1 additions and 0 deletions

View File

@ -673,6 +673,7 @@ static void uninit(AVFilterContext *ctx)
ZScaleContext *s = ctx->priv;
zimg_filter_graph_free(s->graph);
zimg_filter_graph_free(s->alpha_graph);
av_freep(&s->tmp);
s->tmp_size = 0;
}