mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
ges-xml-formatter: fix memory leak
COVERTY CID 1212148
This commit is contained in:
parent
9cbdfad546
commit
cf492d3839
1 changed files with 3 additions and 0 deletions
|
@ -326,6 +326,9 @@ _parse_track (GMarkupParseContext * context, const gchar * element_name,
|
||||||
ges_base_xml_formatter_add_track (GES_BASE_XML_FORMATTER (self), track_type,
|
ges_base_xml_formatter_add_track (GES_BASE_XML_FORMATTER (self), track_type,
|
||||||
caps, strtrack_id, props, metadatas, error);
|
caps, strtrack_id, props, metadatas, error);
|
||||||
|
|
||||||
|
if (props)
|
||||||
|
gst_structure_free (props);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wrong_caps:
|
wrong_caps:
|
||||||
|
|
Loading…
Reference in a new issue