mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
resindvd: Fix a leak of the DVD title string
This commit is contained in:
parent
29b44a5e2f
commit
d9fef92ea0
1 changed files with 1 additions and 0 deletions
|
@ -842,6 +842,7 @@ update_title_info (resinDvdSrc * src)
|
||||||
GstTagList *tags = gst_tag_list_new ();
|
GstTagList *tags = gst_tag_list_new ();
|
||||||
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_TITLE,
|
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_TITLE,
|
||||||
title_str, NULL);
|
title_str, NULL);
|
||||||
|
g_free (title_str);
|
||||||
gst_element_found_tags (GST_ELEMENT_CAST (src), tags);
|
gst_element_found_tags (GST_ELEMENT_CAST (src), tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue