From f550239eb6807fd638ba0b400ca3b6e21633b472 Mon Sep 17 00:00:00 2001
From: dxfhgwet <noreply@example.com>
Date: Fri, 27 Oct 2017 21:54:13 -0700
Subject: [PATCH] avfilter/zscale: fix memory leak

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

diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c
index c303dd4d63..53f34b43eb 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;
 }
-- 
2.13.2.windows.1

