[gvfs] fuse: Do not unref result of g_vfs_get_default



commit 70092d7455bb35d560d03aa015d4fef52d441d48
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Feb 18 09:44:35 2016 +0100

    fuse: Do not unref result of g_vfs_get_default
    
    Result from g_vfs_get_default shouldn't be freed as per documentation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762250

 client/gvfsfusedaemon.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/client/gvfsfusedaemon.c b/client/gvfsfusedaemon.c
index d528f8f..f67c7c0 100644
--- a/client/gvfsfusedaemon.c
+++ b/client/gvfsfusedaemon.c
@@ -2482,7 +2482,6 @@ vfs_destroy (gpointer param)
   mount_list_free ();
   if (subthread_main_loop != NULL) 
     g_main_loop_quit (subthread_main_loop);
-  g_object_unref (gvfs);
 }
 
 static struct fuse_operations vfs_oper =


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