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