summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-07-16 20:15:37 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-07-16 20:16:23 -0500
commit2c4274df1e4812e9d9fcbff5e7fe4ab4d87a9120 (patch)
tree82575c4927ef48aa9e686cdd4971f46560d76fed
parenta83b6e12b18f947fd2fe31cfeada9b19ef44130f (diff)
downloadepiphany-2c4274df1e4812e9d9fcbff5e7fe4ab4d87a9120.tar.gz
Fix leaks in ephy-history-test
-rw-r--r--tests/ephy-history-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ephy-history-test.c b/tests/ephy-history-test.c
index 33d66a200..0fa8040dd 100644
--- a/tests/ephy-history-test.c
+++ b/tests/ephy-history-test.c
@@ -397,6 +397,7 @@ test_complex_url_query (void)
GList *visits;
visits = create_visits_for_complex_tests ();
+ g_free (temporary_file);
ephy_history_service_add_visits (service, visits, NULL, perform_complex_url_query, NULL);
@@ -437,6 +438,7 @@ test_complex_url_query_with_time_range (void)
GList *visits;
visits = create_visits_for_complex_tests ();
+ g_free (temporary_file);
ephy_history_service_add_visits (service, visits, NULL, perform_complex_url_query_with_time_range, NULL);
@@ -487,6 +489,7 @@ test_clear (void)
ephy_history_service_add_visits (service, visits, NULL, NULL, NULL);
ephy_history_service_clear (service, NULL, perform_query_after_clear, NULL);
+ g_free (temporary_file);
gtk_main ();
}