dtcm: Coverity 89113
This commit is contained in:
@@ -266,6 +266,7 @@ getCharSet(char * charset)
|
|||||||
|
|
||||||
if (mimeCS) {
|
if (mimeCS) {
|
||||||
strcpy(charset, mimeCS);
|
strcpy(charset, mimeCS);
|
||||||
|
free(mimeCS);
|
||||||
} else {
|
} else {
|
||||||
strcpy(charset, "us-ascii"); /* default MIME codeset */
|
strcpy(charset, "us-ascii"); /* default MIME codeset */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user