[RTTY] Fixed code scan alert
This commit is contained in:
parent
99386beec7
commit
17f5397652
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ ITA2String::ITA2String(char c) {
|
|||
|
||||
ITA2String::ITA2String(const char* str) {
|
||||
_len = strlen(str);
|
||||
_str = new char[_len];
|
||||
_str = new char[_len + 1];
|
||||
strcpy(_str, str);
|
||||
_ita2Len = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue