resindvd: Fix a leak of the DVD title string

This commit is contained in:
Jan Schmidt 2009-05-14 08:42:24 +01:00
parent 29b44a5e2f
commit d9fef92ea0

View file

@ -842,6 +842,7 @@ update_title_info (resinDvdSrc * src)
GstTagList *tags = gst_tag_list_new ();
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_TITLE,
title_str, NULL);
g_free (title_str);
gst_element_found_tags (GST_ELEMENT_CAST (src), tags);
}
}