mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Use delete[] to match new[] (found by valgrind).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80997 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
030a0a0cdb
commit
70327dabb4
@ -54,7 +54,7 @@ ExactHazardRecognizer::ExactHazardRecognizer(const InstrItineraryData &LItinData
|
||||
}
|
||||
|
||||
ExactHazardRecognizer::~ExactHazardRecognizer() {
|
||||
delete Scoreboard;
|
||||
delete [] Scoreboard;
|
||||
}
|
||||
|
||||
void ExactHazardRecognizer::Reset() {
|
||||
|
Loading…
Reference in New Issue
Block a user