mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 00:18:34 +00:00
8035938: Memory leak in JvmtiEnv::GetConstantPool
Reviewed-by: sspitsyn, dcubed
This commit is contained in:
parent
781a793ed9
commit
3d112a8dc3
@ -68,11 +68,11 @@ class JvmtiConstantPoolReconstituter : public StackObj {
|
||||
|
||||
~JvmtiConstantPoolReconstituter() {
|
||||
if (_symmap != NULL) {
|
||||
os::free(_symmap);
|
||||
delete _symmap;
|
||||
_symmap = NULL;
|
||||
}
|
||||
if (_classmap != NULL) {
|
||||
os::free(_classmap);
|
||||
delete _classmap;
|
||||
_classmap = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user