[evolution-data-server/treitter-test-suites] Use the proper freeing function for the members of the list returned by e_cal_get_free_busy().



commit b175a0391445698b2a47a84b144abd4ae866d63d
Author: Travis Reitter <treitter gmail com>
Date:   Tue Dec 29 15:28:53 2009 -0800

    Use the proper freeing function for the members of the list returned by e_cal_get_free_busy().

 calendar/tests/ecal/test-ecal-get-free-busy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/tests/ecal/test-ecal-get-free-busy.c b/calendar/tests/ecal/test-ecal-get-free-busy.c
index 3708fe0..0fa395d 100644
--- a/calendar/tests/ecal/test-ecal-get-free-busy.c
+++ b/calendar/tests/ecal/test-ecal-get-free-busy.c
@@ -32,7 +32,7 @@ main (gint argc, gchar **argv)
 
 	ecal_test_utils_cal_remove (cal);
 
-	g_list_foreach (free_busy, (GFunc) icalcomponent_free, NULL);
+	g_list_foreach (free_busy, (GFunc) g_object_unref, NULL);
 	g_list_free (free_busy);
 
 	return 0;



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