src/share/vm/utilities/elfFile.cpp

changeset 3901
24b9c7f4cae6
parent 3900
d2a62e0f25eb
child 4153
b9a9ed0f8eeb
     1.1 --- a/src/share/vm/utilities/elfFile.cpp	Fri Jun 29 17:12:15 2012 -0700
     1.2 +++ b/src/share/vm/utilities/elfFile.cpp	Mon Jul 02 13:11:28 2012 -0400
     1.3 @@ -47,7 +47,7 @@
     1.4    m_status = NullDecoder::no_error;
     1.5  
     1.6    int len = strlen(filepath) + 1;
     1.7 -  m_filepath = (const char*)os::malloc(len * sizeof(char));
     1.8 +  m_filepath = (const char*)os::malloc(len * sizeof(char), mtInternal);
     1.9    if (m_filepath != NULL) {
    1.10      strcpy((char*)m_filepath, filepath);
    1.11      m_file = fopen(filepath, "r");

mercurial