summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-08-19 15:08:05 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-08-19 15:08:05 -0500
commit9b356adf54effa420918c1f869f8948595b1d03d (patch)
treea54011af3d2b3476ff0320cc0de2223cd9be3ac0 /src/arch
parent6779bd3e5da2355242cd3ba4967cb164c2a0b837 (diff)
downloadgem5-9b356adf54effa420918c1f869f8948595b1d03d.tar.xz
ARM: Fix a memory leak with the table walker.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/table_walker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc
index c0c177e85..62b22472b 100644
--- 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