Merge
authorroland
Thu, 04 Apr 2013 02:48:21 -0700
changeset 16628 dd8074df8a2b
parent 16626 b58a6213631c (diff)
parent 16627 c9f4e5314b68 (current diff)
child 16629 226dd4d44d03
Merge
--- a/hotspot/src/share/vm/adlc/archDesc.cpp	Thu Apr 04 09:33:24 2013 +0200
+++ b/hotspot/src/share/vm/adlc/archDesc.cpp	Thu Apr 04 02:48:21 2013 -0700
@@ -832,6 +832,7 @@
     int         length  = (int)strlen(rc_name) + (int)strlen(mask) + 5;
     char       *regMask = new char[length];
     sprintf(regMask,"%s%s()", rc_name, mask);
+    delete[] rc_name;
     return regMask;
   }
 }