summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-11-05 18:33:09 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-11-05 18:33:09 +0000
commit9e3e475f3692791fb5b2252d3ea7d6d63a2760ff (patch)
tree9b6e58dfb5c27ca3d7ad0bc807a177fb048af7de
parentb84bf977b1a52b178c90b8113cbc68934b3acf5a (diff)
asfdemux: fix two small leaks
-rw-r--r--gst/asfdemux/gstasfdemux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c
index 32553358..8e58a8fe 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);