[FFmpeg-cvslog] avfilter/zscale: fix memory leak

dxfhgwet git at videolan.org
Sat Oct 28 20:38:48 EEST 2017


ffmpeg | branch: master | dxfhgwet <noreply at example.com> | Fri Oct 27 21:54:13 2017 -0700| [ff763351e74550df3b9a0465634d1ec48b15b043] | committer: Paul B Mahol

avfilter/zscale: fix memory leak

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff763351e74550df3b9a0465634d1ec48b15b043
---

 libavfilter/vf_zscale.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index 5ee272ed1d..09fd842fe5 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -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;
 }



More information about the ffmpeg-cvslog mailing list