提交 01694654 编写于 作者: K kevinw

8035938: Memory leak in JvmtiEnv::GetConstantPool

Reviewed-by: sspitsyn, dcubed
上级 8cb05864
......@@ -68,11 +68,11 @@ class JvmtiConstantPoolReconstituter : public StackObj {
~JvmtiConstantPoolReconstituter() {
if (_symmap != NULL) {
os::free(_symmap, mtClass);
delete _symmap;
_symmap = NULL;
}
if (_classmap != NULL) {
os::free(_classmap, mtClass);
delete _classmap;
_classmap = NULL;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册