From: Ali Saidi Date: Fri, 19 Aug 2011 20:08:05 +0000 (-0500) Subject: ARM: Fix a memory leak with the table walker. X-Git-Tag: stable_2012_02_02~125 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b356adf54effa420918c1f869f8948595b1d03d;p=gem5.git ARM: Fix a memory leak with the table walker. --- 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