[tracker/external-crawler: 11/27] libtracker-miner: Fix warning on root GFile unref in FileSystem



commit 612e3d6352b14628aabc5e07ef68bebb36378aca
Author: Martyn Russell <martyn lanedo com>
Date:   Fri May 9 15:19:30 2014 +0100

    libtracker-miner: Fix warning on root GFile unref in FileSystem

 src/libtracker-miner/tracker-file-system.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-system.c b/src/libtracker-miner/tracker-file-system.c
index 7d9a236..dd81f49 100644
--- a/src/libtracker-miner/tracker-file-system.c
+++ b/src/libtracker-miner/tracker-file-system.c
@@ -356,7 +356,7 @@ file_system_finalize (GObject *object)
                         NULL);
        g_node_destroy (priv->file_tree);
 
-       if (!priv->root) {
+       if (priv->root) {
                g_object_unref (priv->root);
        }
 


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