From 6d6f5098c5e0b25e785f87da73b26177f69f5808 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Fri, 13 Jul 2018 16:29:19 +0100 Subject: [PATCH] dtcm: Coverity 89273 --- cde/programs/dtcm/libDtCmP/cm_tty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cde/programs/dtcm/libDtCmP/cm_tty.c b/cde/programs/dtcm/libDtCmP/cm_tty.c index a18a4570..ec8247bf 100644 --- a/cde/programs/dtcm/libDtCmP/cm_tty.c +++ b/cde/programs/dtcm/libDtCmP/cm_tty.c @@ -1624,6 +1624,7 @@ parse_appt_from_file(nl_catd catd, char *file, CmDataList *list, Props *p, */ if (found_appt == B_FALSE) { + free(w_buf); fclose(fp); return(INVALID_DATE); } -- 2.25.1