Project

Profile

Help

Revision 0608038f

Added by O'Neil Delpratt over 5 years ago

Bug fix relating to issue 2772

View differences:

latest9.6/hec/Saxon.C.API/XdmItem.h
27 27
    virtual ~XdmItem(){
28 28
//std::cerr<<std::endl<<"XdmItem destructor called, refCount"<<getRefCount()<<std::endl;
29 29
	if(value !=NULL && proc != NULL) {
30
			proc->environ->env->DeleteLocalRef(value->xdmvalue);
30
			environ->env->DeleteLocalRef(value->xdmvalue);
31 31
	}
32 32
	free(value);
33 33
    }

Also available in: Unified diff