diff options
author | Richard Hughes <richard@hughsie.com> | 2014-06-03 08:18:59 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-06-03 08:18:59 +0100 |
commit | 262fd898f66e26ae19f44995eade1bd64b7c3604 (patch) | |
tree | 57e1ba7a0b21075e02db0b7ab13b704bb511b072 /libappstream-glib/as-screenshot.c | |
parent | 17088bc4b1a37f365b3475ac5d5724c95413ddbb (diff) | |
download | appstream-glib-262fd898f66e26ae19f44995eade1bd64b7c3604.tar.gz |
trivial: Use a common style where the _cleanup is done last in the block
Diffstat (limited to 'libappstream-glib/as-screenshot.c')
-rw-r--r-- | libappstream-glib/as-screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-screenshot.c b/libappstream-glib/as-screenshot.c index 51d4411..bc3393d 100644 --- a/libappstream-glib/as-screenshot.c +++ b/libappstream-glib/as-screenshot.c @@ -321,9 +321,9 @@ as_screenshot_node_parse (AsScreenshot *screenshot, GNode *node, GError **error) AsScreenshotPrivate *priv = GET_PRIVATE (screenshot); GList *l; GNode *c; - _cleanup_unref_hashtable GHashTable *captions = NULL; const gchar *tmp; guint size; + _cleanup_unref_hashtable GHashTable *captions = NULL; tmp = as_node_get_attribute (node, "type"); if (tmp != NULL) { |