[tracker-miners/wip/carlosg/leak-fixes: 1/4] tracker-miner-fs: Plug leak
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/leak-fixes: 1/4] tracker-miner-fs: Plug leak
- Date: Sat, 6 Jun 2020 13:34:31 +0000 (UTC)
commit 4b0ca73f15e5781c04e5e7950293fed410688711
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jun 2 20:47:33 2020 +0200
tracker-miner-fs: Plug leak
The information element is not destroyed after use.
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 3054c3135..4128b1248 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2435,6 +2435,7 @@ process_file_cb (GObject *object,
graph ?
graph :
DEFAULT_GRAPH);
+ g_object_unref (element_resource);
}
sparql_str = g_strdup_printf ("%s %s %s %s %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]