summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-07-06 14:09:38 -0400
committerRyan Lortie <desrt@desrt.ca>2012-07-06 14:09:38 -0400
commitbcf3ea543cbc4f0a841b485cdc90534cb2ffd9a4 (patch)
tree432c41eed160d2f6f6afb081bbb8e9035306ab7f /gdbus
parent67144c4fdc8362e6c1b2550301cc235b596d6e44 (diff)
downloaddconf-bcf3ea543cbc4f0a841b485cdc90534cb2ffd9a4.tar.gz
GDBus filter backend: plug a massive leak
Each async call was leaking the GDBusMesage. Be sure to free it.
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/dconf-gdbus-filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbus/dconf-gdbus-filter.c b/gdbus/dconf-gdbus-filter.c
index 8e8f42b..2515a33 100644
--- a/gdbus/dconf-gdbus-filter.c
+++ b/gdbus/dconf-gdbus-filter.c
@@ -271,6 +271,8 @@ dconf_engine_dbus_call_async_func (GBusType bus_type,
}
g_mutex_unlock (&dconf_gdbus_lock);
+ g_object_unref (message);
+
return success;
}