//指针清空
#define SAFE_RELEASE(x) if((x) != NULL){ delete (x); (x) = NULL; }
#define SAFE_RELEASE_ARRAY(x) if((x) != NULL){ delete[] (x); (x) = NULL; }
//指针清空
#define SAFE_RELEASE(x) if((x) != NULL){ delete (x); (x) = NULL; }
#define SAFE_RELEASE_ARRAY(x) if((x) != NULL){ delete[] (x); (x) = NULL; }
1万+
7464

被折叠的 条评论
为什么被折叠?