X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_calendar.c;h=b7871e8e52bbc2a8fb66c3d8cf7999c26ccf837c;hb=b5e3990d7a1c42d66afea3f713264eb6166e7c72;hp=7833ab84fd00866680c425681379bca7b091934e;hpb=1176aeb7b5fc9c8903d554fad1ae4bb40582bf15;p=citadel.git diff --git a/citadel/serv_calendar.c b/citadel/serv_calendar.c index 7833ab84f..b7871e8e5 100644 --- a/citadel/serv_calendar.c +++ b/citadel/serv_calendar.c @@ -1770,6 +1770,7 @@ void ical_send_out_invitations(icalcomponent *cal) { valid = validate_recipients(attendees_string); CtdlSubmitMsg(msg, valid, ""); CtdlFreeMessage(msg); + free (valid); } } free(serialized_request); @@ -2163,6 +2164,9 @@ char *serv_calendar_init(void) - - - +void serv_calendar_destroy(void) +{ +#ifdef CITADEL_WITH_CALENDAR_SERVICE + icaltimezone_free_builtin_timezones(); +#endif +}