projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b484b
)
dev: use correct delete operation in SimpleDisk
author
Ali Saidi
<Ali.Saidi@ARM.com>
Thu, 10 May 2012 23:04:27 +0000
(18:04 -0500)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Thu, 10 May 2012 23:04:27 +0000
(18:04 -0500)
src/dev/simple_disk.cc
patch
|
blob
|
history
diff --git
a/src/dev/simple_disk.cc
b/src/dev/simple_disk.cc
index c611ec06153308f384ec2fba8fb49e25baaf3a72..26e8239bb561e7d0388ca5a20cae0d0b546eaabd 100644
(file)
--- 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