mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 14:32:56 +00:00
trivial: Fix a tiny memory leak when starting the daemon
This commit is contained in:
parent
9cb3c84712
commit
e4ad9d27fd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user