Projects > cpp > Issues > Bug #264

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

Create Issue on Github

memory leak when CCTexture2D::initWithString

Bug #264 [Closed]
walzer@cocos2d-x.org 2010-12-17 02:35 . Updated over 4 years ago

bug report: http://www.cocos2d-x.org/boards/12/topics/167?r=179

memory leak at these code

while (true)
{
    CCTexture2D* pTex = new CCTexture2D();

    pTex->initWithString("test", "XXX", 24);

   delete pTex;
}
yangws 2010-12-18 01:16
  • Status changed from New to Feedback

The reason is glDeleteTexture function whick PowerVR SDK 2.07.27.0484 implimented can’t work correctly

walzer@cocos2d-x.org 2010-12-20 06:04
  • Status changed from Feedback to Closed
walzer@cocos2d-x.org 2011-01-27 18:38
  • Project changed from 3 to cocos2d-x
walzer@cocos2d-x.org 2012-05-25 08:18
  • Project changed from cocos2d-x to cpp
  • Target version deleted (cocos2d-0.99.4-x-0.7.1)

Atom PDF

Status:Closed
Start date:2010-12-17
Priority:Normal
Due date:
Assignee:yangws
% Done:

0%

Category:-
Target version:-

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