void CCActionManager::deleteHashElement(tHashElement *pElement) { ccArrayFree(pElement->actions); HASH_DEL(m_pTargets, pElement); pElement->target->release(); free(pElement); }
void ActionManager::deleteHashElement(tHashElement *element) { ccArrayFree(element->actions); HASH_DEL(_targets, element); element->target->release(); free(element); }
ParallaxNode::~ParallaxNode() { if( _parallaxArray ) { ccArrayFree(_parallaxArray); _parallaxArray = nullptr; } }
void CCScheduler::removeHashElement(_hashSelectorEntry *pElement) { ccArrayFree(pElement->timers); pElement->target->selectorProtocolRelease(); pElement->target = NULL; HASH_DEL(m_pHashForSelectors, pElement); free(pElement); }
CCArray::~CCArray() { ccArrayFree(data); }