projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6779bd3
)
ARM: Fix a memory leak with the table walker.
author
Ali Saidi
<Ali.Saidi@ARM.com>
Fri, 19 Aug 2011 20:08:05 +0000
(15:08 -0500)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Fri, 19 Aug 2011 20:08:05 +0000
(15:08 -0500)
src/arch/arm/table_walker.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/table_walker.cc
b/src/arch/arm/table_walker.cc
index c0c177e8578be7fbce90a68da8727c49c75478d7..62b22472ba85c2d877c72571cf031a020c51121f 100644
(file)
--- a/
src/arch/arm/table_walker.cc
+++ b/
src/arch/arm/table_walker.cc
@@
-663,7
+663,7
@@
TableWalker::doL1DescriptorWrapper()
currState->req = NULL;
currState->tc = NULL;
currState->delayed = false;
-
+ delete currState;
}
else if (!currState->delayed) {
// delay is not set so there is no L2 to do