// TimelineActionData TimelineActionData* TimelineActionData::create(int actionTag) { TimelineActionData * ret = new TimelineActionData(); if (ret && ret->init(actionTag)) { CC_SAFE_AUTORELEASE(ret); } else { CC_SAFE_DELETE(ret); } return ret; }
// TimelineActionData TimelineActionData* TimelineActionData::create(int actionTag) { TimelineActionData * ret = new TimelineActionData(); if (ret && ret->init(actionTag)) { ret->autorelease(); } else { CC_SAFE_DELETE(ret); } return ret; }