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



commit 0e49ca960f38abcf1273b7b4caab9bb74405c145
Author: Dan VrÃtil <dvratil redhat com>
Date:   Wed Aug 1 21:25:33 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]