utils: Free list of refs in flatpak_repo_update

Although the data is owned by the hash table, the list storage needs to
be freed with g_list_free(). Use g_autoptr for that.
tingping/wmclass
Dan Nicholson 2016-09-01 08:58:25 -07:00
parent 509bb33a2b
commit d304c4eca1
1 changed files with 1 additions and 1 deletions

View File

@ -2031,7 +2031,7 @@ flatpak_repo_update (OstreeRepo *repo,
g_autofree char *title = NULL;
g_autoptr(GHashTable) refs = NULL;
GList *ordered_keys = NULL;
g_autoptr(GList) ordered_keys = NULL;
GList *l = NULL;
g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);