I have code like this:
schedule( schedule_selector(StageOne::updateCamera), 1.0f );
void StageOne::updateCamera(ccTime dt)
CCFollow* pFollowA = CCFollow::actionWithTarget(pSprite, CCRect::CCRect(0.0f,0.0f, STAGE_HEIGHT, STAGE_WIDTH));
is memory leaked.
I guess, to fix it I should call something like this pFollowA->release() (after pFollowA end) with callback.
What the correct way to release CCFollow?