projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd18ffe
)
Another memleak in the memtester (need [] with the delete)
author
Ron Dreslinski
<rdreslin@umich.edu>
Thu, 12 Oct 2006 17:45:28 +0000
(13:45 -0400)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Thu, 12 Oct 2006 17:45:28 +0000
(13:45 -0400)
src/cpu/memtest/memtest.cc:
Another memleak in the memtester
--HG--
extra : convert_revision :
f7ab079e90d578fb6b9d1ff238d049fcce55b01b
src/cpu/memtest/memtest.cc
patch
|
blob
|
history
diff --git
a/src/cpu/memtest/memtest.cc
b/src/cpu/memtest/memtest.cc
index c44f28f9b14189fe9f90e84ca44f652cf69dcfb4..024cd7e41ed4ccb1718dbb557b7ae45aab7458ea 100644
(file)
--- a/
src/cpu/memtest/memtest.cc
+++ b/
src/cpu/memtest/memtest.cc
@@
-400,7
+400,7
@@
MemTest::tick()
//This means we assume CPU does write forwarding to reads that alias something
//in the cpu store buffer.
if (outstandingAddrs.find(paddr) != outstandingAddrs.end()) {
- delete result;
+ delete
[]
result;
delete req;
return;
}