summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2018-01-31 13:06:07 +0100
committerDebarshi Ray <debarshir@gnome.org>2018-02-07 04:38:01 +0100
commit5506272337ae3cc9c307d6fe4a394c07e3a7302a (patch)
tree06b51118a2c39328f182bce398a8c567503f25c2 /src
parenta96f2fabb2a3b8fb02cc344183c0818e8e2ecb13 (diff)
downloadtracker-5506272337ae3cc9c307d6fe4a394c07e3a7302a.tar.gz
libtracker-miner: Don't leak TrackerMinerFS:root
https://bugzilla.gnome.org/show_bug.cgi?id=793061
Diffstat (limited to 'src')
-rw-r--r--src/libtracker-miner/tracker-miner-fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index b734ee13e..d7a98b3f0 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);
}