[gnome-builder] flatpak: copy error for wrapping
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: copy error for wrapping
- Date: Thu, 18 Nov 2021 00:15:31 +0000 (UTC)
commit 622aad3f9f13073534c78e89116fbe9fecda9be6
Author: Christian Hergert <chergert redhat com>
Date: Wed Nov 17 16:14:57 2021 -0800
flatpak: copy error for wrapping
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 547ee03e1..1cd99c092 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
@@ -774,7 +774,7 @@ install_worker (GTask *task,
if (!ipc_flatpak_transfer_call_confirm_sync (state->transfer, (const char * const *)ref_ids->pdata,
state->cancellable, &error))
{
g_warning ("User confirmation failed: %s", error->message);
- complete_wrapped_error (g_steal_pointer (&state->invocation), g_steal_pointer (&error));
+ complete_wrapped_error (g_steal_pointer (&state->invocation), g_error_copy (error));
g_task_return_error (task, g_steal_pointer (&error));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]