[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

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