[evolution-data-server/gnome-3-4] Fix a memory leak in e-cal-system-timezone.c



commit 71d7c90d68b0d94c536eee6811e5a954b3250811
Author: Dan VrÃtil <dvratil redhat com>
Date:   Thu Aug 9 13:19:34 2012 +0200

    Fix a memory leak in e-cal-system-timezone.c

 calendar/libecal/e-cal-system-timezone.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libecal/e-cal-system-timezone.c b/calendar/libecal/e-cal-system-timezone.c
index dd51836..d211ea3 100644
--- a/calendar/libecal/e-cal-system-timezone.c
+++ b/calendar/libecal/e-cal-system-timezone.c
@@ -594,6 +594,7 @@ system_timezone_find (void)
 				filename)) {
 				g_free (filename);
 				g_free (localtime_content);
+				g_hash_table_destroy (ical_zones);
 
 				/* corresponding file name to config_tz matches /etc/localtime,
 				   thus that's the correct one - return it as system timezone;



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