diff --git a/src/fu-config.c b/src/fu-config.c index 01c250d80..b3c7c6d76 100644 --- a/src/fu-config.c +++ b/src/fu-config.c @@ -153,9 +153,9 @@ fu_config_get_remote_agreement_default (FwupdRemote *self, GError **error) static GString * fu_config_get_remote_agreement_for_app (FwupdRemote *self, XbNode *component, GError **error) { - XbNode *n; g_autofree gchar *tmp = NULL; g_autoptr(GError) error_local = NULL; + g_autoptr(XbNode) n = NULL; /* manually find the first agreement section */ n = xb_node_query_first (component, "agreement/agreement_section/description/*", &error_local);