summaryrefslogtreecommitdiff
path: root/examples/libtracker-sparql/async-connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libtracker-sparql/async-connection.c')
-rw-r--r--examples/libtracker-sparql/async-connection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/libtracker-sparql/async-connection.c b/examples/libtracker-sparql/async-connection.c
index c18608c2f..9f0b103cc 100644
--- a/examples/libtracker-sparql/async-connection.c
+++ b/examples/libtracker-sparql/async-connection.c
@@ -75,10 +75,6 @@ cursor_cb (GObject *object,
} else {
g_critical ("Could not run cursor next: %s", error->message);
- if (cursor) {
- g_object_unref (cursor);
- }
-
g_error_free (error);
g_main_loop_quit (md->loop);
}