portal: Free the ops from flatpak_transaction_get_operations

The returned list is transfer full so we use g_autolist for a deep
cleanup.
This commit is contained in:
Sebastian Wick
2024-08-01 21:16:54 +02:00
committed by Patrick
parent 3e2b76a351
commit 7b096b4929

View File

@@ -2485,7 +2485,8 @@ static gboolean
transaction_ready (FlatpakTransaction *transaction,
TransactionData *d)
{
GList *ops = flatpak_transaction_get_operations (transaction);
g_autolist(FlatpakTransactionOperation) ops =
flatpak_transaction_get_operations (transaction);
int status;
GList *l;