mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
iqa: Plug a leak allocating twice the same data
This commit is contained in:
parent
c11e93c9da
commit
40c74694ab
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue