mirror of https://github.com/axmolengine/axmol.git
fix incorrect delete
This commit is contained in:
parent
01866ddc95
commit
4fe16a262b
|
@ -68,8 +68,8 @@ void CCLuaLog(const char *pszMsg)
|
|||
WideCharToMultiByte(CP_ACP, 0, widebuff, -1, buff, bufflen, NULL, NULL);
|
||||
puts(buff);
|
||||
|
||||
delete widebuff;
|
||||
delete buff;
|
||||
delete[] widebuff;
|
||||
delete[] buff;
|
||||
}
|
||||
|
||||
NS_CC_END
|
||||
|
|
Loading…
Reference in New Issue