[polari/wip/carlosg/tracker: 6/13] log-tool: Close cursor after query



commit 9a0735e612c41b353585924f89f68cdff9b65ad5
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]