From 40c74694abe26e95d95af20a4006f8d737f5d76a Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 14 Feb 2017 11:09:46 -0300 Subject: [PATCH] iqa: Plug a leak allocating twice the same data --- ext/iqa/iqa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/iqa/iqa.c b/ext/iqa/iqa.c index 50c688517d..de09e81f26 100644 --- a/ext/iqa/iqa.c +++ b/ext/iqa/iqa.c @@ -157,7 +157,6 @@ do_dssim (GstIqa * self, GstVideoFrame * ref, GstVideoFrame * cmp, out = (dssim_rgba *) out_info.data; ptrs = g_malloc (sizeof (char **) * ref->info.height); - ptrs2 = g_malloc (sizeof (char **) * cmp->info.height); for (y = 0; y < ref->info.height; y++) { ptrs[y] = ref_info.data + (ref->info.width * 4 * y);