summaryrefslogtreecommitdiff
path: root/source/l/glib2/0001-GDBusProxy-Fix-a-memory-leak-during-initialization.patch
blob: a315a01b0bb4db9179dfadb7b6f237c49d6331f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From db641e32920ee8b553ab6f2d318aafa156e4390c Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <evangelos@foutrelis.com>
Date: Wed, 25 Nov 2015 23:29:18 +0200
Subject: [PATCH] GDBusProxy: Fix a memory leak during initialization

https://bugzilla.gnome.org/show_bug.cgi?id=758641
---
 gio/gdbusproxy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c
index 52a22fb..7b1140f 100644
--- a/gio/gdbusproxy.c
+++ b/gio/gdbusproxy.c
@@ -1720,6 +1720,7 @@ async_initable_init_second_finish (GAsyncInitable  *initable,
   if (result != NULL)
     {
       process_get_all_reply (proxy, result);
+      g_variant_unref (result);
     }
 
   proxy->priv->initialized = TRUE;
-- 
2.6.3