# HG changeset patch # User roland # Date 1365068901 25200 # Node ID dd8074df8a2b84c9ead072f1da7d767ba3693c4f # Parent b58a6213631ce72e137d594941bbece3bcbc867e# Parent c9f4e5314b68fa94919ca6efd0db0a62263bb71f Merge diff -r c9f4e5314b68 -r dd8074df8a2b hotspot/src/share/vm/adlc/archDesc.cpp --- 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; } }