ges-xml-formatter: fix memory leak

COVERTY CID 1212148
This commit is contained in:
Thibault Saunier 2014-05-10 22:45:34 +02:00
parent 9cbdfad546
commit cf492d3839

View file

@ -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,
caps, strtrack_id, props, metadatas, error);
if (props)
gst_structure_free (props);
return;
wrong_caps: