[tracker-miners/wip/carlosg/shuffle-libtracker-miner: 50/116] libtracker-miner: Don't leak TrackerMinerFS:root



commit 536f200b59cc694d8118cb39fd11c8929b159253
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jan 31 13:06:07 2018 +0100

    libtracker-miner: Don't leak TrackerMinerFS:root
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793061

 src/libtracker-miner/tracker-miner-fs.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 016c12744..c05487c41 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -878,6 +878,8 @@ fs_finalize (GObject *object)
                                        NULL);
        tracker_priority_queue_unref (priv->items);
 
+       g_object_unref (priv->root);
+
        if (priv->indexing_tree) {
                g_object_unref (priv->indexing_tree);
        }


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