-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Milestone
Description
In file cocos/platform/desktop/CCGLViewImpl-desktop.cpp
,
void GLViewImpl::setIcon(const std::vector<std::string>& filelist) const {
/* omitted */
auto images = new GLFWimage[iconsCount];
/* omitted */
CC_SAFE_DELETE(images);
/* omitted */
}
Should use CC_SAFE_DELETE_ARRAY
instead of CC_SAFE_DELETE
.