[tracker-miners] tracker-miner-fs: Plug leak



commit 459e851799e83a548919174ff7f82374810f6221
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Sep 9 12:27:57 2018 +0200

    tracker-miner-fs: Plug leak

 src/miners/fs/tracker-miner-files.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index a5af8edcc..edfbca950 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2467,6 +2467,7 @@ process_file_cb (GObject      *object,
        if (parent_urn) {
                tracker_sparql_builder_predicate (sparql, "nfo:belongsToContainer");
                tracker_sparql_builder_object_iri (sparql, parent_urn);
+               g_free (parent_urn);
        }
 
        tracker_sparql_builder_predicate (sparql, "nfo:fileName");


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