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!

Answers


  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.

Need Your Help

Snap.svg only select one path

javascript animation svg snap.svg

I'm trying to do this origami-like animation, but Snap.svg only selects one path – the first one to animate.

Out of memory when select image from gallery for the third times Android

java c# android memory xamarin

I have a app need to load large images (2mb) for serveral times from the gallery and show in an imageview. I want to allow user to change the image after they select. So they can get back to previous

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.