mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
xmptag: Don't leak the namespace string if there are multiple
https://bugzilla.gnome.org/show_bug.cgi?id=775887
This commit is contained in:
parent
7ff1de380f
commit
2f62720d71
1 changed files with 1 additions and 0 deletions
|
@ -1313,6 +1313,7 @@ gst_tag_list_from_xmp_buffer (GstBuffer * buffer)
|
||||||
}
|
}
|
||||||
if (ns_match[i].ns_prefix) {
|
if (ns_match[i].ns_prefix) {
|
||||||
if (strcmp (ns_map[i].original_ns, &as[6])) {
|
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]);
|
ns_map[i].gstreamer_ns = g_strdup (&as[6]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue