author | kevinw |
Fri, 16 Jan 2015 21:28:02 +0000 | |
changeset 28625 | cc1cdba85235 |
parent 28624 | 88972fd01f71 |
child 28626 | 579344aca043 |
hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.hpp | file | annotate | diff | comparison | revisions |
--- a/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Fri Jan 16 09:15:22 2015 +0100 +++ b/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.hpp Fri Jan 16 21:28:02 2015 +0000 @@ -68,11 +68,11 @@ ~JvmtiConstantPoolReconstituter() { if (_symmap != NULL) { - os::free(_symmap); + delete _symmap; _symmap = NULL; } if (_classmap != NULL) { - os::free(_classmap); + delete _classmap; _classmap = NULL; } }