Commit ff763351 authored by dxfhgwet's avatar dxfhgwet Committed by Paul B Mahol

avfilter/zscale: fix memory leak

parent b43d1314
...@@ -673,6 +673,7 @@ static void uninit(AVFilterContext *ctx) ...@@ -673,6 +673,7 @@ static void uninit(AVFilterContext *ctx)
ZScaleContext *s = ctx->priv; ZScaleContext *s = ctx->priv;
zimg_filter_graph_free(s->graph); zimg_filter_graph_free(s->graph);
zimg_filter_graph_free(s->alpha_graph);
av_freep(&s->tmp); av_freep(&s->tmp);
s->tmp_size = 0; s->tmp_size = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment