C++ 中delete空指针

今天写了一些代码给同事review的时候,同事指出我有一个地方对空指针指针的判断是没必要要的。记录在此做为提醒。指针   局部的代码是这样的code if(fail) continue; delete matches; matches = 0; return context->getItemFactory()->createB
相关文章
相关标签/搜索