char* pArray = new char[1024];
SAFE_DELETE_ARRAY( pArray );

こうじゃねえの