[polari/wip/carlosg/tracker: 10/16] log-tool: Close cursor after query



commit 94c406b27f4f238aae1e837315c9ada2f8c97d8b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Feb 24 22:57:32 2019 +0100

    log-tool: Close cursor after query

 src/polari-log-tool.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/polari-log-tool.c b/src/polari-log-tool.c
index 2985ecc..81e44d2 100644
--- a/src/polari-log-tool.c
+++ b/src/polari-log-tool.c
@@ -238,6 +238,9 @@ handle_query (int argc,
         }
     }
 
+  tracker_sparql_cursor_close (cursor);
+  g_object_unref (cursor);
+
   return status;
 }
 


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