rmdemux: fix tag memory leak

tags is not being freed after being merged to the
pending_tags.

https://bugzilla.gnome.org/show_bug.cgi?id=752404
This commit is contained in:
Vineeth T M 2015-07-16 09:49:17 +09:00 committed by Tim-Philipp Müller
parent 981a35420b
commit c222f1942b

View file

@ -1926,6 +1926,7 @@ gst_rmdemux_parse_cont (GstRMDemux * rmdemux, const guint8 * data, int length)
rmdemux->pending_tags = rmdemux->pending_tags =
gst_tag_list_merge (rmdemux->pending_tags, tags, GST_TAG_MERGE_APPEND); gst_tag_list_merge (rmdemux->pending_tags, tags, GST_TAG_MERGE_APPEND);
gst_tag_list_unref (tags);
} }
static void static void