mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
asfdemux: fix two small leaks
This commit is contained in:
parent
b84bf977b1
commit
9e3e475f36
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue