Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-03-13 14:14:08 +0300
committerTim-Philipp Müller <tim@centricular.com>2020-03-14 03:21:01 +0300
commite3afb0ea8eb3322441efc8d66e0c9ddc64ee887b (patch)
tree89e1da8601ed060756159504508c7a0e14261808
parentd1c887bc774179d51fa227282a6979a0dd37bda9 (diff)
identity: Fix a minor leak using meta_str
-rw-r--r--plugins/elements/gstidentity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c
index 8da7cf068d..e97fe498e0 100644
--- a/plugins/elements/gstidentity.c
+++ b/plugins/elements/gstidentity.c
@@ -612,6 +612,7 @@ gst_identity_update_last_message_for_buffer (GstIdentity * identity,
GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf),
GST_BUFFER_FLAGS (buf), flag_str, meta_str ? meta_str : "none", buf);
g_free (flag_str);
+ g_free (meta_str);
GST_OBJECT_UNLOCK (identity);