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



commit 4260c26284ab718b08b775a058dda89c598cf27d
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]