[RTTY] Fixed code scan alert

This commit is contained in:
jgromes 2021-04-15 08:13:16 +02:00
parent 99386beec7
commit 17f5397652

View file

@ -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;
}