[wing] pipelistener: do not leak the task
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] pipelistener: do not leak the task
- Date: Thu, 14 Jul 2016 07:34:21 +0000 (UTC)
commit e0f10e61bb6e7a8d3a301c92798cdc11ec04a565
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Jul 14 09:34:06 2016 +0200
pipelistener: do not leak the task
wing/wingnamedpipelistener.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/wing/wingnamedpipelistener.c b/wing/wingnamedpipelistener.c
index e966353..0e0b76b 100644
--- a/wing/wingnamedpipelistener.c
+++ b/wing/wingnamedpipelistener.c
@@ -520,6 +520,7 @@ wing_named_pipe_listener_accept_async (WingNamedPipeListener *listener,
"close-handle", FALSE,
NULL);
g_task_return_pointer (task, connection, g_object_unref);
+ g_object_unref (task);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]