summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth T M <vineeth.tm@samsung.com>2015-07-16 09:49:17 +0900
committerTim-Philipp Müller <tim@centricular.com>2015-07-16 08:59:20 +0100
commitc222f1942b284d11a26b2b020954fa592523304d (patch)
tree35e6ae5ac5c44423184ef30bb2c5ebd4573f6fb7
parent981a35420bc62ca352b54721a49af793e22d2408 (diff)
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
-rw-r--r--gst/realmedia/rmdemux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c
index d5d3ac1e..27b71006 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