Projects > cpp > Issues > Bug #3718

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

Create Issue on Github

UILayer : memory leak detected

Bug #3718 [Closed]
nite 2014-01-15 19:50 . Updated about 2 years ago

link
http://cocos2d-x.org/forums/6/topics/42931

TestCpp

  1. adding _CrtSetDbgFlag (*CRTDBG_ALLOC_MEM_DF |*CRTDBG_LEAK_CHECK_DF); (function : _tWinMain in main.cpp)
  2. run TestCpp > ExtensionsTest> CocoStuidoGUITest ~~> gui ButtonTest
  3. exit <pre> Detected memory leaks! Dumping objects~~> {133952} normal block at 0x03EC7D78, 16 bytes long. Data: < k > E0 B4 6B 07 00 00 00 00 00 00 00 00 00 00 00 00 {133951} normal block at 0x03EC7D30, 12 bytes long. Data: < x} > 01 00 00 00 04 00 00 00 78 7D EC 03 {133948} normal block at 0x03EC7CD8, 24 bytes long. Data: < %] > 94 B3 25 5D EF 12 00 00 00 00 00 00 01 00 00 00 {133947} normal block at 0x03EC7C08, 4 bytes long. Data: < > 00 00 00 00 {133946} normal block at 0x076BC888, 12 bytes long. Data: < | > 00 00 00 00 01 00 00 00 08 7C EC 03 ……………………….

</pre>
Used MSVC2013, cocos2d-x 2.2.2

Memory leak right?

walzer@cocos2d-x.org 2014-01-23 06:43
  • Assignee set to Nutty
zhangxm 2014-03-14 03:01
  • Description updated (diff)
  • Target version changed from 2.2.3 to 2.2.4
walzer@cocos2d-x.org 2014-10-08 02:53

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8317

Atom PDF

Status:Closed
Start date:2014-01-15
Priority:Normal
Due date:
Assignee:Nutty
% Done:

0%

Category:all
Target version:2.2.4

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.