aboutsummaryrefslogtreecommitdiffstats
path: root/lib/history/ephy-history-service-visits-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/history/ephy-history-service-visits-table.c')
-rw-r--r--lib/history/ephy-history-service-visits-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history/ephy-history-service-visits-table.c b/lib/history/ephy-history-service-visits-table.c
index 0beaa2325..1b9e5b3d4 100644
--- a/lib/history/ephy-history-service-visits-table.c
+++ b/lib/history/ephy-history-service-visits-table.c
@@ -155,7 +155,7 @@ ephy_history_service_find_visit_rows (EphyHistoryService *self, EphyHistoryQuery
if (error) {
g_error ("Could not build visits table query statement: %s", error->message);
g_error_free (error);
- g_object_unref (statement);
+ return NULL;
}
if (query->from >= 0) {