projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e418fe0
)
dtcm: Coverity 89113
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:54:02 +0000
(23:54 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:54:02 +0000
(23:54 +0100)
cde/programs/dtcm/dtcm/RFCMIME.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/dtcm/RFCMIME.c
b/cde/programs/dtcm/dtcm/RFCMIME.c
index 54e904e6c60a061b1d2e6d273762bfedbf68b44f..b0291d8bb2ad4fed43767589c9b8c2c679622192 100644
(file)
--- 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 */
}