forked from OSchip/llvm-project
Use delete[] instead of free on an array created with new[].
llvm-svn: 52960
This commit is contained in:
parent
2a40249b65
commit
9e75cb2e7a
|
@ -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