When I load a node with readNodeGraphFromFile, it seems there is a memory leak.
CCBReader* reader = new CCBReader(CCNodeLoaderLibrary::sharedCCNodeLoaderLibrary()); CCNode* node = reader->readNodeGraphFromFile("MyFile.ccbi"); reader->release();
Then, my node has 3 references, and 1 autoReleaseCount.
That is 2 more references that it should be. So the node will never be deleted.
Also, I noticed that some of the objects, like the CCBAnimationManager, have too many references.
I’d like to know if it is a known problem, or if I am using the library the wrong way.