[polari/wip/carlosg/tracker: 6/13] log-tool: Close cursor after query
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/carlosg/tracker: 6/13] log-tool: Close cursor after query
- Date: Sun, 24 Feb 2019 22:59:04 +0000 (UTC)
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]