ARM: fix mismatched new/delete.
authorAli Saidi <Ali.Saidi@ARM.com>
Tue, 18 Jan 2011 22:30:01 +0000 (16:30 -0600)
committerAli Saidi <Ali.Saidi@ARM.com>
Tue, 18 Jan 2011 22:30:01 +0000 (16:30 -0600)
src/arch/arm/insts/mem.hh

index 98ad3eb39146d4429897b0481031486c694a800f..a4fc626033d02ef4962c4b601364f0bf201c5782 100644 (file)
@@ -150,7 +150,7 @@ class SrsOp : public MightBeMicro
     virtual
     ~SrsOp()
     {
-        delete uops;
+        delete [] uops;
     }
 
     StaticInstPtr