dtcm: Coverity 88768, 89297 and 89115
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user