From: Vineeth T M Date: Thu, 16 Jul 2015 00:49:17 +0000 (+0900) Subject: rmdemux: fix tag memory leak X-Git-Tag: 1.6.0~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c222f1942b284d11a26b2b020954fa592523304d;p=platform%2Fupstream%2Fgst-plugins-ugly.git 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 --- diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index d5d3ac1..27b7100 100644 --- a/gst/realmedia/rmdemux.c +++ b/gst/realmedia/rmdemux.c @@ -1926,6 +1926,7 @@ gst_rmdemux_parse_cont (GstRMDemux * rmdemux, const guint8 * data, int length) rmdemux->pending_tags = gst_tag_list_merge (rmdemux->pending_tags, tags, GST_TAG_MERGE_APPEND); + gst_tag_list_unref (tags); } static void