[geocode-glib] test: Clean test search



commit 00467d8d40620798e2fd71d95b300df3b38b6bc1
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Nov 25 02:03:46 2012 +0100

    test: Clean test search

 geocode-glib/test-gcglib.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index 28f64ed..e182d83 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -224,8 +224,7 @@ test_search (void)
 			got_texas = TRUE;
 		g_hash_table_destroy (ht);
 #endif
-		g_message ("got location: %s", loc->description);
-		g_boxed_free (GEOCODE_TYPE_LOCATION, loc);
+		geocode_location_free (loc);
 
 		if (got_france && got_texas)
 			break;



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