identity: Fix a minor leak using meta_str

This commit is contained in:
Stéphane Cerveau 2020-03-13 12:14:08 +01:00
parent 109bdd0c25
commit 0b1c2f715a

View file

@ -612,6 +612,7 @@ gst_identity_update_last_message_for_buffer (GstIdentity * identity,
GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf), GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf),
GST_BUFFER_FLAGS (buf), flag_str, meta_str ? meta_str : "none", buf); GST_BUFFER_FLAGS (buf), flag_str, meta_str ? meta_str : "none", buf);
g_free (flag_str); g_free (flag_str);
g_free (meta_str);
GST_OBJECT_UNLOCK (identity); GST_OBJECT_UNLOCK (identity);