From 2c4274df1e4812e9d9fcbff5e7fe4ab4d87a9120 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Mon, 16 Jul 2018 20:15:37 -0500 Subject: Fix leaks in ephy-history-test --- tests/ephy-history-test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 (); } -- cgit v1.2.1