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



commit 4d9070e79ae148f0b5a722638b914401504e52a3
Author: Travis Reitter <treitter gmail com>
Date:   Wed Dec 23 11:42:30 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]