mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-29 18:11:22 -05:00
This is a g_autoptr version of OstreeAsyncProgress that also calls ostree_async_progress_finish() before being freed. This should be used in all "leaf" functions that creates an asyncprogress to avoid leaking any idle change idle sources. Using a auto* means some code can be cleaned up to avoid goto out style handling for this. Also, this adds a missing finish() in _flatpak_dir_fetch_remote_state_metadata_branch().