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] 2010-12-17 02:35 . Updated over 6 years ago

bug report:

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 implimented can’t work correctly 2010-12-20 06:04
  • Status changed from Feedback to Closed 2011-01-27 18:38
  • Project changed from 3 to cocos2d-x 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

Start date:2010-12-17
Due date:
% Done:


Target version:-

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