Projects > cpp > Issues > Bug #3719

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Cocos2dx Ver2.2.2 samples/Cpp/TestCpp has the problem of memory leak

Bug #3719 [Rejected]
nite 2014-01-15 19:55 . Updated over 10 years ago


Problem: TestCpp has the problem of memory leak

1) version of cocos:Cocos2dx Ver2.2.2
2) Environment:(win32) Windows 7
Dev Tools:Microsoft Visual Studio Express 2012 for Windows Desktop
(Version 11.0.61030.00 Update 4)

Check Tools:Visual Leak Detector

3)Steps: Run in Debugger mode,
close program with the blue circle mark.

4) details of the error:
Visual Leak Detector detected 64 memory leaks (4280 bytes).
Largest number used: 20032 bytes.
Total allocations: 25188 bytes.

zhangxm 2014-03-10 06:28
  • Description updated (diff)
  • Status changed from New to Rejected

VLD will treat global instance that will live as long as the game as memory leak.

Atom PDF

Start date:2014-01-15
Due date:
% Done:


Target version:2.2.3