[TXT2NLS] Use delete[] to deallocate new[] output (#4022)

Per AppleClang 13.0 warning.
This commit is contained in:
William Kent 2021-10-10 16:59:48 -04:00 committed by Hermès Bélusca-Maïto
parent 860d3544af
commit 0ebad9f3c5
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -541,7 +541,7 @@ int main(int argc, char* argv[])
output.write(reinterpret_cast<char*>(wc_table), 65536 * FileHeader.MaximumCharacterSize);
output.close();
delete wc_table;
delete[] wc_table;
return 0;
}