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:
parent
d8fb638dde
commit
aba6416554
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue