以下是否会产生未定义的行为:
void * something = NULL; char * buffer = new char[10]; something = buffer; buffer = NULL; delete [] something; // undefined??
我是否首先需要将某些东西投射到char *?