coverity check null pointer
coverity check null pointer

yangf4/core,yangf4/core,YetAnotherMinion/core,YetAnotherMinion/core,yangf4/core,YetAnotherMinion/core,YetAnotherMinion/core,YetAnotherMinion/core,yangf4/core,yangf4/core