diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2012-05-10 18:04:27 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2012-05-10 18:04:27 -0500 |
commit | e029941bda3d47585461d424b0c519adbfd02e6f (patch) | |
tree | 1bf855f5872132d5ca8e6f65ccc41db28bdda15b /src | |
parent | d9b484b41a96201f58711e3f96616842a960997e (diff) | |
download | gem5-e029941bda3d47585461d424b0c519adbfd02e6f.tar.xz |
dev: use correct delete operation in SimpleDisk
Diffstat (limited to 'src')
-rw-r--r-- | src/dev/simple_disk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/simple_disk.cc b/src/dev/simple_disk.cc index c611ec061..26e8239bb 100644 --- a/src/dev/simple_disk.cc +++ b/src/dev/simple_disk.cc @@ -75,7 +75,7 @@ SimpleDisk::read(Addr addr, baddr_t block, int count) const DPRINTF(SimpleDisk, "read block=%#x len=%d\n", (uint64_t)block, count); DDUMP(SimpleDiskData, data, count); - delete data; + delete [] data; } void |