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 5ee272e..09fd842 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;
 }