mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[TXT2NLS] Use delete[] to deallocate new[] output (#4022)
Per AppleClang 13.0 warning.
This commit is contained in:
committed by
Hermès Bélusca-Maïto
parent
860d3544af
commit
0ebad9f3c5
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user