[dconf/wip/reorg: 496/523] GDBus filter backend: plug a massive leak



commit bcf3ea543cbc4f0a841b485cdc90534cb2ffd9a4
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Jul 6 14:09:38 2012 -0400

    GDBus filter backend: plug a massive leak
    
    Each async call was leaking the GDBusMesage.  Be sure to free it.

 gdbus/dconf-gdbus-filter.c |    2 ++
 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;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]