Ruby System, Cache Recorder: Use delete [] for trace vars
Review Request #1811 - Created April 5, 2013 and submitted
| Information | |
|---|---|
| Joel Hestness | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9627:cc159aa06eff --------------------------- Ruby System, Cache Recorder: Use delete [] for trace vars The cache trace variables are array allocated uint8_t* in the RubySystem and the Ruby CacheRecorder, but the code used delete to free the memory, resulting in Valgrind memory errors. Change these deletes to delete [] to get rid of the errors.
Ran x86 FS in Valgrind to verify errors are gone.
Ship It!
