summaryrefslogtreecommitdiff
path: root/ext/iqa/iqa.c
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2019-08-16 15:22:26 +0200
committerMathieu Duponchelle <mduponchelle1@gmail.com>2019-08-16 13:23:55 +0000
commitfef8c8f7b57fa6cfc5ebeedf29ce572752d01cfe (patch)
tree7ac96775c2e4e3f8f18cc3c81ce4829bc989c068 /ext/iqa/iqa.c
parentb64733972e59611493a1abe90c2e9195a08d171e (diff)
downloadgstreamer-plugins-bad-fef8c8f7b57fa6cfc5ebeedf29ce572752d01cfe.tar.gz
iqa: fix leak of map_meta.data
Diffstat (limited to 'ext/iqa/iqa.c')
-rw-r--r--ext/iqa/iqa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/iqa/iqa.c b/ext/iqa/iqa.c
index f57924059..dd9e4e100 100644
--- a/ext/iqa/iqa.c
+++ b/ext/iqa/iqa.c
@@ -218,6 +218,7 @@ do_dssim (GstIqa * self, GstVideoFrame * ref, GstVideoFrame * cmp,
dssim_structure, NULL);
gst_structure_free (dssim_structure);
+ free (map_meta.data);
g_free (ptrs);
g_free (ptrs2);
gst_buffer_unmap (ref->buffer, &ref_info);