]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/zscale: fix memory leak
authordxfhgwet <noreply@example.com>
Sat, 28 Oct 2017 04:54:13 +0000 (21:54 -0700)
committerPaul B Mahol <onemda@gmail.com>
Sat, 28 Oct 2017 17:38:12 +0000 (19:38 +0200)
libavfilter/vf_zscale.c

index 5ee272ed1d63bfe2f38b543f8e8647186ddc5c0e..09fd842fe55ba24e8aeadc907e6e4d3927a55988 100644 (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;
 }