diff options
-rw-r--r-- | lib/history/ephy-history-service-hosts-table.c | 2 | ||||
-rw-r--r-- | lib/history/ephy-history-service.c | 2 |
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); } |