[tracker] examples: Drop unneeded g_object_unref() call
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] examples: Drop unneeded g_object_unref() call
- Date: Mon, 30 Jan 2017 11:12:43 +0000 (UTC)
commit 8a89d4c893f53dcfacf0cad6d838fca7c795142d
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jan 30 12:07:38 2017 +0100
examples: Drop unneeded g_object_unref() call
Another one.
Coverity ID: 1188470
examples/libtracker-sparql/async-connection.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/examples/libtracker-sparql/async-connection.c b/examples/libtracker-sparql/async-connection.c
index c18608c..9f0b103 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]