From: Peter Howkins Date: Wed, 4 Jul 2018 22:54:02 +0000 (+0100) Subject: dtcm: Coverity 89113 X-Git-Tag: 2.3.0a~160 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82f29143b09fd9d81c96f1db2a7cbe227e655813;p=oweals%2Fcde.git dtcm: Coverity 89113 --- diff --git a/cde/programs/dtcm/dtcm/RFCMIME.c b/cde/programs/dtcm/dtcm/RFCMIME.c index 54e904e6..b0291d8b 100644 --- a/cde/programs/dtcm/dtcm/RFCMIME.c +++ b/cde/programs/dtcm/dtcm/RFCMIME.c @@ -266,6 +266,7 @@ getCharSet(char * charset) if (mimeCS) { strcpy(charset, mimeCS); + free(mimeCS); } else { strcpy(charset, "us-ascii"); /* default MIME codeset */ }