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:
aba6416
)
dtcm: Coverity 89452 and 89661
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 21:36:39 +0000
(22:36 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 21:36:39 +0000
(22:36 +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 f5fb02f599e2f5691b0b3ceab7f02ad840b171ba..62fee6d34d99a326c0975e0ea00491cefe0c5afe 100644
(file)
--- a/
cde/programs/dtcm/dtcm/RFCMIME.c
+++ b/
cde/programs/dtcm/dtcm/RFCMIME.c
@@
-1532,6
+1532,9
@@
rfc1522cpy(char * buf, const char * value)
strncat(buf,"=?", 2);
strncat(buf,_tmp2_, strlen(_tmp2_));
strncat(buf,"?q?", 3);
+
+ free(_tmp1_);
+ free(_tmp2_);
} else if ( !strncasecmp( ret_codeset, "ISO-2022-JP", 11 ) ) {
/*
* According to RFC1468, in the Header Field, we should use