Fix bugs in CExpRKMethod.cpp: change size_t mRootId to int size_t mRootId,
add pointer check before allocate new space

	modified:   CExpRKMethod.cpp
	modified:   CExpRKMethod.h