ARM: Use the correct delete operator for RFE
authorAli Saidi <Ali.Saidi@ARM.com>
Mon, 15 Nov 2010 20:04:03 +0000 (14:04 -0600)
committerAli Saidi <Ali.Saidi@ARM.com>
Mon, 15 Nov 2010 20:04:03 +0000 (14:04 -0600)
src/arch/arm/insts/mem.hh

index 2aa4de1d710aa1ab906f36626d6a25da12f5022b..98ad3eb39146d4429897b0481031486c694a800f 100644 (file)
@@ -110,7 +110,7 @@ class RfeOp : public MightBeMicro
     virtual
     ~RfeOp()
     {
-        delete uops;
+        delete [] uops;
     }
 
     StaticInstPtr