Bug #3718
By zhangxm Posted 2014-03-14 03:01
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?
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?