[gvfs] Fix a ref leak



commit 7943231d55859d85e6f12343b8668b660f419f73
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 11 08:18:17 2009 -0400

    Fix a ref leak
    
    This leak was pointed out by clang, and reported in bug 594832.

 common/gvfsmountinfo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/common/gvfsmountinfo.c b/common/gvfsmountinfo.c
index 327929f..6522d19 100644
--- a/common/gvfsmountinfo.c
+++ b/common/gvfsmountinfo.c
@@ -510,6 +510,7 @@ find_file_insensitive_exists_callback (GObject *source_object,
       g_simple_async_result_complete_in_idle (simple);
       g_object_unref (simple);
       clear_find_file_insensitive_state (data);
+      g_object_unref (info);
     }
 
   else



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