[gnome-builder] flatpak: fix ref of invocation



commit 3aaac34e943fd041f0022ffa83eec468f970ad01
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 16 19:42:10 2021 -0800

    flatpak: fix ref of invocation

 src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c 
b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
index 93370283f..3e4883c4f 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
@@ -1124,7 +1124,7 @@ ipc_flatpak_service_impl_install (IpcFlatpakService     *service,
   task = g_task_new (self, state->cancellable, NULL, NULL);
   g_object_set_data_full (G_OBJECT (task),
                           "INVOCATION",
-                          g_object_ref (invocation),
+                          g_object_ref (state->invocation),
                           g_object_unref);
   g_signal_connect_object (task,
                            "notify::completed",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]