diff --git a/ges/ges-xml-formatter.c b/ges/ges-xml-formatter.c index df29ea6915..fd22332177 100644 --- a/ges/ges-xml-formatter.c +++ b/ges/ges-xml-formatter.c @@ -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: