diff --git a/subprojects/gst-editing-services/ges/ges-structure-parser.c b/subprojects/gst-editing-services/ges/ges-structure-parser.c index d84d64b22e..dcc564b0ff 100644 --- a/subprojects/gst-editing-services/ges/ges-structure-parser.c +++ b/subprojects/gst-editing-services/ges/ges-structure-parser.c @@ -110,8 +110,8 @@ _finish_structure (GESStructureParser * self) GST_ERROR ("Could not parse %s", self->current_string); self->wrong_strings = g_list_append (self->wrong_strings, - g_strdup (self->current_string)); - + self->current_string); + self->current_string = NULL; return; }