[epiphany/history-rewrite: 17/45] tests/ephy-history: plug a couple of leaks



commit 78d3d6911a4ce39dff2c949541017027be0f98aa
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Jul 5 13:16:14 2011 +0300

    tests/ephy-history: plug a couple of leaks

 tests/ephy-history.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/ephy-history.c b/tests/ephy-history.c
index bd2dcfa..8a6b3eb 100644
--- a/tests/ephy-history.c
+++ b/tests/ephy-history.c
@@ -87,6 +87,7 @@ test_create_history_entry (void)
   EphyHistoryPageVisit *visit = ephy_history_page_visit_new ("http://www.gnome.org";, 0, EPHY_PAGE_VISIT_TYPED);
   ephy_history_service_add_visit (service, visit, page_vist_created, NULL);
   ephy_history_page_visit_free (visit);
+  g_free (temporary_file);
 
   gtk_main ();
 }
@@ -161,6 +162,7 @@ test_create_history_entries (void)
   /* We use 42 here just to verify that user_data is passed properly to the callback */
   ephy_history_service_add_visits (service, visits, verify_create_history_entry, GINT_TO_POINTER(42));
   ephy_history_page_visit_list_free (visits);
+  g_free (temporary_file);
 
   gtk_main ();
 }



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