X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fcalendar%2Fserv_calendar.c;h=941806393d1a33e6b8f3a60fe7dc3562f22d2f46;hb=8e944083763c9ddcb32d763cf8f19c966d01f873;hp=83afa539bf60aafb66a1a2e8878b1c2bd8939f65;hpb=0387f48886a9395d89eaca01cd40ab751610426f;p=citadel.git diff --git a/citadel/modules/calendar/serv_calendar.c b/citadel/modules/calendar/serv_calendar.c index 83afa539b..941806393 100644 --- a/citadel/modules/calendar/serv_calendar.c +++ b/citadel/modules/calendar/serv_calendar.c @@ -3,7 +3,7 @@ * room on a Citadel server. It handles iCalendar objects using the * iTIP protocol. See RFCs 2445 and 2446. * - * Copyright (c) 1987-2020 by the citadel.org team + * Copyright (c) 1987-2021 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -2532,11 +2532,6 @@ void ical_fixed_output(char *ptr, int len) { } -void serv_calendar_destroy(void) { - icaltimezone_free_builtin_timezones(); -} - - /* * Register this module with the Citadel server. */ @@ -2565,7 +2560,6 @@ CTDL_MODULE_INIT(calendar) CtdlRegisterSessionHook(ical_session_shutdown, EVT_STOP, PRIO_STOP + 80); CtdlRegisterFixedOutputHook("text/calendar", ical_fixed_output); CtdlRegisterFixedOutputHook("application/ics", ical_fixed_output); - CtdlRegisterCleanupHook(serv_calendar_destroy); } /* return our module name for the log */