mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
Fix a small leak in ostree_repo_remote_list_collection_refs
g_variant_iter_loop would free the value for us, but not if we're returning from the middle of the loop body. Closes: #1788 Approved by: cgwalters
This commit is contained in:
parent
f0719681f9
commit
ee988f69aa
@ -1002,7 +1002,7 @@ ostree_repo_remote_list_collection_refs (OstreeRepo *self,
|
||||
summary_collection_map = NULL;
|
||||
|
||||
while (summary_collection_map != NULL &&
|
||||
g_variant_iter_loop (summary_collection_map, "{s@a(s(taya{sv}))}", &summary_collection_id, &summary_refs))
|
||||
g_variant_iter_loop (summary_collection_map, "{&s@a(s(taya{sv}))}", &summary_collection_id, &summary_refs))
|
||||
{
|
||||
if (!remote_list_collection_refs_process_refs (self, remote_name,
|
||||
summary_collection_id, summary_refs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user