[evolution] I#1368 - itip-utils: Use Location as TZID instead of libical's TZID ][



commit 891a8c74d9edd3334f5558c47daa2cccce6260d6
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 18 14:05:45 2021 +0100

    I#1368 - itip-utils: Use Location as TZID instead of libical's TZID ][
    
    Missed a chunk to free memory in a GHashTable when splitting the change
    into multiple commits.
    
    Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1368

 src/calendar/gui/itip-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/itip-utils.c b/src/calendar/gui/itip-utils.c
index 0d922dac74..436e601b51 100644
--- a/src/calendar/gui/itip-utils.c
+++ b/src/calendar/gui/itip-utils.c
@@ -811,7 +811,7 @@ comp_toplevel_with_zones (ICalPropertyMethod method,
        prop = i_cal_property_new_method (method);
        i_cal_component_take_property (top_level, prop);
 
-       tz_data.tzids = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
+       tz_data.tzids = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
        tz_data.icomp = top_level;
        tz_data.client = cal_client;
        tz_data.zones = zones;


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