dev: use correct delete operation in SimpleDisk
This commit is contained in:
parent
d9b484b41a
commit
e029941bda
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue