mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/zscale: fix memory leak
This commit is contained in:
parent
b43d13144b
commit
ff763351e7
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue