Autorelease not working?

I was wondering why autoreleased objects never get released?

Inside CCAutoreleasePool I see:

void CCAutoreleasePool::clear()
{
if(m_pManagedObjectArray~~>count > 0)
{
//CCAutoreleasePool* pReleasePool;
#ifdef _DEBUG
int nIndex = m_pManagedObjectArray~~>count() - 1;
#endif
CCMutableArray<CCObject*>::CCMutableArrayRevIterator it;
for(it = m_pManagedObjectArray~~>rbegin; it != m_pManagedObjectArray~~>rend(); ++it)
{
if(!*it)
break;
>
(*it)>m_bManaged = false;
//
>release;
//delete ;
#ifdef _DEBUG
nIndex—;
#endif
}
>
m_pManagedObjectArray~~>removeAllObjects;
}
}
so objects are no longer managed, but~~>release() is commented…
where exactly are the objects released??
Scene(node) creation are autoreleased and are not getting released on scene replacement …
Can anyone help? I’m using cocos2d-1.0.1-x-0.12.0 @ Mar 05, 2012
Thanks

sorry, can’t make it better readable… just take a look inside CCAutoreleasePool.cpp

ah, I see now it’s managed by the mutable array.
Must be an issue in my code then, I guess.

it was my mistake… close/delete this thread please :wink:

bye