online-accounts: free list-providers leak
Unref variants after using the goa-helper to list providers.
This commit is contained in:
parent
d3b0272f13
commit
30c65ceaed
1 changed files with 4 additions and 1 deletions
|
@ -412,7 +412,10 @@ list_providers (CcOnlineAccountsPanel *self)
|
|||
g_variant_iter_init (&iter, providers_variant);
|
||||
|
||||
while ((provider = g_variant_iter_next_value (&iter)))
|
||||
add_provider_row (self, provider);
|
||||
{
|
||||
add_provider_row (self, provider);
|
||||
g_variant_unref (provider);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue