[tracker/wip/carlosg/release-memory: 3/5] libtracker-data: Plug leak
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/release-memory: 3/5] libtracker-data: Plug leak
- Date: Sun, 30 Aug 2020 21:32:04 +0000 (UTC)
commit fe45e06bfb74eaeedacbdc0ee3bda9159b61e74c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 30 19:40:29 2020 +0200
libtracker-data: Plug leak
src/libtracker-data/tracker-db-manager.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libtracker-data/tracker-db-manager.c b/src/libtracker-data/tracker-db-manager.c
index 5cc3cf997..a90245235 100644
--- a/src/libtracker-data/tracker-db-manager.c
+++ b/src/libtracker-data/tracker-db-manager.c
@@ -1027,6 +1027,8 @@ ensure_create_database_file (TrackerDBManager *db_manager,
iface = tracker_db_interface_sqlite_new (path,
db_manager->shared_cache_key,
0, error);
+ g_free (path);
+
if (!iface)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]