[tracker-miners/wip/carlosg/fix-leaks: 2/5] tracker-miner-fs: Plug leak




commit 93fff26479466ef65768455d090a85f01da5f75a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Dec 5 12:32:08 2021 +0100

    tracker-miner-fs: Plug leak
    
    The SPARQL string made to delete prior properties during updates is
    not being freed.

 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 a7fed924c..b090a10eb 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2201,6 +2201,7 @@ miner_files_process_file (TrackerMinerFS      *fs,
        g_object_unref (resource);
        g_clear_object (&folder_resource);
        g_clear_object (&graph_file);
+       g_free (delete_properties_sparql);
        g_free (uri);
 }
 


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