From: <tp...@ke...> - 2009-11-05 18:35:07
|
Module: gst-plugins-ugly Branch: master Commit: 9e3e475f3692791fb5b2252d3ea7d6d63a2760ff URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=9e3e475f3692791fb5b2252d3ea7d6d63a2760ff Author: Tim-Philipp Müller <tim...@co...> Date: Thu Nov 5 18:33:09 2009 +0000 asfdemux: fix two small leaks --- gst/asfdemux/gstasfdemux.c | 5 +++-- 1 files 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); |