iqa: fix leak of map_meta.data

This commit is contained in:
Mathieu Duponchelle 2019-08-16 15:22:26 +02:00 committed by Mathieu Duponchelle
parent b64733972e
commit fef8c8f7b5

View file

@ -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);