diff --git a/vm/vmcore/src/jvmti/jvmti_break_intf.cpp b/vm/vmcore/src/jvmti/jvmti_break_intf.cpp index aec4cdf..c15e1ad 100644 --- a/vm/vmcore/src/jvmti/jvmti_break_intf.cpp +++ b/vm/vmcore/src/jvmti/jvmti_break_intf.cpp @@ -1043,7 +1043,7 @@ VMBreakInterface::add_reference(jmethodI // given native address is differ with obtained breapoint. // The last case cound be if the same method location points // to different native address. - if ( !brpt || !brpt->addr || brpt->addr != addr ) + if ( !brpt || brpt->addr != addr ) { brpt = (VMBreakPoint*)STD_MALLOC(sizeof(VMBreakPoint)); assert(brpt);