forked from Mirrors/flatpak-builder
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
parent
509bb33a2b
commit
d304c4eca1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue