SimplyKiwi
SimplyKiwi

Reputation: 12444

Cocos2D Library Leak?

My Xcode analyze tool is showing a leak coming from the Cocos2D library (CCAtlasNode.m). Anyway how would I fix this leak?

self.textureAtlas = [[CCTextureAtlas alloc] initWithFile:tile capacity:c];
[textureAtlas_ release];

Thanks!

Upvotes: 0

Views: 249

Answers (1)

CodeSmile
CodeSmile

Reputation: 64477

  1. Make sure the same leak happens in a freshly created project, to avoid side effects like this one: How to determine where this memory leak is coming from?
  2. Once you're 100% sure the leak is coming from cocos2d-iphone, report it to the developers with all the information you have.

Upvotes: 1

Related Questions