From 9e3e475f3692791fb5b2252d3ea7d6d63a2760ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 5 Nov 2009 18:33:09 +0000 Subject: [PATCH] asfdemux: fix two small leaks --- gst/asfdemux/gstasfdemux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 3255335..8e58a8f 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -2477,18 +2477,19 @@ gst_asf_demux_process_ext_content_desc (GstASFDemux * demux, guint8 * data, gst_tag_list_add_values (taglist, merge_mode, gst_tag_name, &tag_value, NULL); - - g_value_unset (&tag_value); } else { GST_DEBUG ("Setting global metadata %s", name_utf8); gst_structure_set_value (demux->global_metadata, name_utf8, &tag_value); } + + g_value_unset (&tag_value); } } g_free (name); g_free (value); + g_free (name_utf8); } gst_asf_demux_add_global_tags (demux, taglist); -- 2.7.4