dev: use correct delete operation in SimpleDisk

This commit is contained in:
Ali Saidi 2012-05-10 18:04:27 -05:00
parent d9b484b41a
commit e029941bda

View file

@ -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); DPRINTF(SimpleDisk, "read block=%#x len=%d\n", (uint64_t)block, count);
DDUMP(SimpleDiskData, data, count); DDUMP(SimpleDiskData, data, count);
delete data; delete [] data;
} }
void void