fix incorrect delete

This commit is contained in:
YuLei Liao 2012-10-31 14:08:28 +08:00
parent 01866ddc95
commit 4fe16a262b
1 changed files with 2 additions and 2 deletions

View File

@ -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