[gnome-builder] langserv: fix ownership transfer of error
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] langserv: fix ownership transfer of error
- Date: Tue, 25 Oct 2016 22:42:42 +0000 (UTC)
commit 83eea5cd80a211ce6c61ea5ce9889aea3e9c3de4
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 24 03:50:29 2016 -0700
langserv: fix ownership transfer of error
libide/langserv/ide-langserv-client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/langserv/ide-langserv-client.c b/libide/langserv/ide-langserv-client.c
index f4d7e25..d9fb7d2 100644
--- a/libide/langserv/ide-langserv-client.c
+++ b/libide/langserv/ide-langserv-client.c
@@ -879,7 +879,7 @@ ide_langserv_client_call_cb (GObject *object,
if (!jsonrpc_client_call_finish (client, result, &return_value, &error))
{
- g_task_return_error (task, 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]