1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 88768, 89297 and 89115

This commit is contained in:
Peter Howkins 2018-07-04 22:33:03 +01:00
parent d8fb638dde
commit aba6416554

View file

@ -1514,6 +1514,8 @@ rfc1522cpy(char * buf, const char * value)
*/ */
char *_tmp1_; char *_tmp1_;
char *_tmp2_; char *_tmp2_;
free(ret_locale);
free(ret_lang);
ret_locale = ret_lang = _tmp1_ = NULL; ret_locale = ret_lang = _tmp1_ = NULL;
DtXlateOpToStdLocale( DtLCX_OPER_INTERCHANGE_CODESET, DtXlateOpToStdLocale( DtLCX_OPER_INTERCHANGE_CODESET,
ret_codeset, ret_codeset,
@ -1577,5 +1579,9 @@ rfc1522cpy(char * buf, const char * value)
} }
} }
free(ret_codeset);
free(ret_locale);
free(ret_lang);
crlf(buf); crlf(buf);
} }