[glib] GDBusProxy: Fix a memory leak during initialization
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GDBusProxy: Fix a memory leak during initialization
- Date: Wed, 25 Nov 2015 22:37:21 +0000 (UTC)
commit db641e32920ee8b553ab6f2d318aafa156e4390c
Author: Evangelos Foutras <evangelos foutrelis com>
Date: Wed Nov 25 23:29:18 2015 +0200
GDBusProxy: Fix a memory leak during initialization
https://bugzilla.gnome.org/show_bug.cgi?id=758641
gio/gdbusproxy.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]