[epiphany/mcatanzaro/history-test-leak: 4/4] Fix EphyHistoryURL leak in history test



commit 150eb1d87c300623ee10e38afa533fcfb063c47c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Jul 19 13:55:28 2019 -0500

    Fix EphyHistoryURL leak in history test

 tests/ephy-history-test.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/ephy-history-test.c b/tests/ephy-history-test.c
index e0fd21a08..70bd2976b 100644
--- a/tests/ephy-history-test.c
+++ b/tests/ephy-history-test.c
@@ -380,6 +380,7 @@ verify_complex_url_query (EphyHistoryService *service,
   g_assert_cmpstr (url->url, ==, baseline->url);
   g_assert_cmpuint (url->visit_count, ==, baseline->visit_count);
 
+  ephy_history_url_free (baseline);
   g_object_unref (service);
 
   gtk_main_quit ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]