diff options
Diffstat (limited to 'src/dev/simple_disk.cc')
-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 |