summaryrefslogtreecommitdiff
path: root/libavfilter/vf_zscale.c
diff options
context:
space:
mode:
authordxfhgwet <noreply@example.com>2017-10-27 21:54:13 -0700
committerPaul B Mahol <onemda@gmail.com>2017-10-28 19:38:12 +0200
commitff763351e74550df3b9a0465634d1ec48b15b043 (patch)
tree0095cc3b3af1d543e309636127ebaad9424d05b0 /libavfilter/vf_zscale.c
parentb43d13144bdb63704dd55533b3fba9be376164ce (diff)
avfilter/zscale: fix memory leak
Diffstat (limited to 'libavfilter/vf_zscale.c')
-rw-r--r--libavfilter/vf_zscale.c1
1 files changed, 1 insertions, 0 deletions
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;
}