dtcm: Coverity 88107
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 15:41:22 +0000 (16:41 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 15:41:22 +0000 (16:41 +0100)
cde/programs/dtcm/server/cmsfunc.c

index 787fa4bd281b89be9f47fceef8743f6e5b4fc22d..effc6f63e91f4ca8cee01c75f0587224fc798b98 100644 (file)
@@ -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 &&