aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-08 17:20:24 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-03-08 17:27:30 +0800
commit8561422eb31ec4b0f4797fd68606d95967192b0e (patch)
treee0b9ba83e94d447e519b7520b9e696fdd9b77ab4
parent0fcb144d136241637c4cfa04715754241907f90a (diff)
downloadgsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.tar
gsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.tar.gz
gsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.tar.bz2
gsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.tar.lz
gsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.tar.xz
gsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.tar.zst
gsoc2013-epiphany-8561422eb31ec4b0f4797fd68606d95967192b0e.zip
ephy-history-service: plug a few more leaks
-rw-r--r--lib/history/ephy-history-service-hosts-table.c2
-rw-r--r--lib/history/ephy-history-service.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/history/ephy-history-service-hosts-table.c b/lib/history/ephy-history-service-hosts-table.c
index d323f6dab..9312d739c 100644
--- a/lib/history/ephy-history-service-hosts-table.c
+++ b/lib/history/ephy-history-service-hosts-table.c
@@ -390,6 +390,8 @@ get_hostname_and_locations (const gchar *url, gchar **hostname)
host_locations = g_list_append (host_locations, location);
}
}
+ g_free (scheme);
+
return host_locations;
}
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index 436aa1c18..3a6c3fa25 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -968,6 +968,7 @@ ephy_history_service_find_urls (EphyHistoryService *self,
ephy_history_service_query_urls (self,
query, callback, user_data);
+ ephy_history_query_free (query);
}
void
@@ -999,4 +1000,5 @@ ephy_history_service_find_hosts (EphyHistoryService *self,
ephy_history_service_query_hosts (self,
query, callback, user_data);
+ ephy_history_query_free (query);
}