[gvfs] daemon: Fix a memory leak



commit 32e9db1387588f37da8b6825f3c7f70ad8c49ef1
Author: Ross Lagerwall <rosslagerwall gmail com>
Date:   Tue Aug 12 22:55:18 2014 +0100

    daemon: Fix a memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734695

 daemon/gvfsjobenumerate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsjobenumerate.c b/daemon/gvfsjobenumerate.c
index c6516eb..b1893e6 100644
--- a/daemon/gvfsjobenumerate.c
+++ b/daemon/gvfsjobenumerate.c
@@ -164,6 +164,7 @@ send_infos (GVfsJobEnumerate *job)
                                       NULL);
   g_object_unref (proxy);
 
+  g_variant_builder_unref (job->building_infos);
   job->building_infos = NULL;
   job->n_building_infos = 0;
 }


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