From: Peter Howkins Date: Fri, 13 Jul 2018 15:41:22 +0000 (+0100) Subject: dtcm: Coverity 88107 X-Git-Tag: 2.3.0a~139 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d215fa52cc1562421513b543906037ade58718e;p=oweals%2Fcde.git dtcm: Coverity 88107 --- diff --git a/cde/programs/dtcm/server/cmsfunc.c b/cde/programs/dtcm/server/cmsfunc.c index 787fa4bd..effc6f63 100644 --- a/cde/programs/dtcm/server/cmsfunc.c +++ b/cde/programs/dtcm/server/cmsfunc.c @@ -1032,6 +1032,8 @@ cms_update_entry_5_svc(cms_update_args *args, struct svc_req *svcrq) args->entry.id, args->scope, args->entry.time, args->pid); + free(appt); + /* reply */ if (cal->fversion >= _DtCM_FIRST_EXTENSIBLE_DATA_VERSION || (cal->fversion < _DtCM_FIRST_EXTENSIBLE_DATA_VERSION &&