[tracker: 1/2] core: Free the ontology and cache locations on finalizing data manager
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 1/2] core: Free the ontology and cache locations on finalizing data manager
- Date: Mon, 29 Aug 2022 18:07:19 +0000 (UTC)
commit 77a86bc79d5bcda1dd396af11106fcfe1c0085a8
Author: Ignacy KuchciĆski <ignacykuchcinski gmail com>
Date: Mon Aug 29 18:28:08 2022 +0200
core: Free the ontology and cache locations on finalizing data manager
src/libtracker-sparql/core/tracker-data-manager.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libtracker-sparql/core/tracker-data-manager.c
b/src/libtracker-sparql/core/tracker-data-manager.c
index 192bcf4a2..05ebf1c66 100644
--- a/src/libtracker-sparql/core/tracker-data-manager.c
+++ b/src/libtracker-sparql/core/tracker-data-manager.c
@@ -4981,6 +4981,8 @@ tracker_data_manager_finalize (GObject *object)
g_clear_object (&manager->ontologies);
g_clear_object (&manager->data_update);
+ g_clear_object (&manager->ontology_location);
+ g_clear_object (&manager->cache_location);
g_clear_pointer (&manager->graphs, g_hash_table_unref);
g_free (manager->status);
g_mutex_clear (&manager->connections_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]