mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
Use delete[] instead of free on an array created with new[].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d9ad8abc8e
commit
b43f7e05ff
@ -526,7 +526,7 @@ void RegisterInfoEmitter::run(std::ostream &OS) {
|
||||
<< " unsigned SubregHashTableSize = 1;\n";
|
||||
}
|
||||
|
||||
free(SubregHashTable);
|
||||
delete [] SubregHashTable;
|
||||
|
||||
if (!RegisterAliases.empty())
|
||||
OS << "\n\n // Register Alias Sets...\n";
|
||||
|
Loading…
Reference in New Issue
Block a user