From 8da506f9316c7646a5adfae310d8409a37a69d06 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 13 May 2014 14:30:39 +0200 Subject: [PATCH] xml-formatter: Don't leak children_props By going through the cleanup code-path CID #1212146 --- ges/ges-xml-formatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-xml-formatter.c b/ges/ges-xml-formatter.c index fd22332..1e38fda 100644 --- a/ges/ges-xml-formatter.c +++ b/ges/ges-xml-formatter.c @@ -617,7 +617,7 @@ wrong_properties: G_MARKUP_ERROR_INVALID_CONTENT, "element '%s', Effect %s properties '%s', could no be deserialized", element_name, asset_id, properties); - return; + goto out; wrong_children_properties: g_set_error (error, G_MARKUP_ERROR, -- 2.7.4