From 89e2c7e90f17ca2c2a4565358a48449da1a8d0ff Mon Sep 17 00:00:00 2001
From: sdfokjpgd <noreply@example.com>
Date: Sat, 5 Aug 2017 21:49:06 -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 466689dbc5..3560a0002d 100644
--- a/libavfilter/vf_zscale.c
+++ b/libavfilter/vf_zscale.c
@@ -662,6 +662,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.12.2.windows.2

