resindvd: Fix a leak of the DVD title string
This commit is contained in:
parent
29b44a5e2f
commit
d9fef92ea0
@ -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…
x
Reference in New Issue
Block a user