summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-01-18 16:30:01 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2011-01-18 16:30:01 -0600
commita3232b534b335b6d1e27e36460eebb10e4dced47 (patch)
tree8ab00ee0ea8b90706db1c46842dede280268dc06 /src
parent25822ee6555f60390ffb49d36a3c349057831256 (diff)
downloadgem5-a3232b534b335b6d1e27e36460eebb10e4dced47.tar.xz
ARM: fix mismatched new/delete.
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/insts/mem.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/insts/mem.hh b/src/arch/arm/insts/mem.hh
index 98ad3eb39..a4fc62603 100644
--- a/src/arch/arm/insts/mem.hh
+++ b/src/arch/arm/insts/mem.hh
@@ -150,7 +150,7 @@ class SrsOp : public MightBeMicro
virtual
~SrsOp()
{
- delete uops;
+ delete [] uops;
}
StaticInstPtr