1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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

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