Commit 2f62720d authored by Sebastian Dröge's avatar Sebastian Dröge

xmptag: Don't leak the namespace string if there are multiple

https://bugzilla.gnome.org/show_bug.cgi?id=775887
parent 7ff1de38
......@@ -1313,6 +1313,7 @@ gst_tag_list_from_xmp_buffer (GstBuffer * buffer)
}
if (ns_match[i].ns_prefix) {
if (strcmp (ns_map[i].original_ns, &as[6])) {
g_free (ns_map[i].gstreamer_ns);
ns_map[i].gstreamer_ns = g_strdup (&as[6]);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment