From 4edaa62ec778c38a3d74d031d4c9ad4bd40c0f42 Mon Sep 17 00:00:00 2001 From: aeonmine Date: Tue, 25 Mar 2014 12:41:16 +0900 Subject: [PATCH] Update CCActionManagerEx.cpp modify intent --- cocos/editor-support/cocostudio/CCActionManagerEx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/editor-support/cocostudio/CCActionManagerEx.cpp b/cocos/editor-support/cocostudio/CCActionManagerEx.cpp index 03617ca26a..a439f843cb 100644 --- a/cocos/editor-support/cocostudio/CCActionManagerEx.cpp +++ b/cocos/editor-support/cocostudio/CCActionManagerEx.cpp @@ -63,7 +63,7 @@ void ActionManagerEx::initWithDictionary(const char* jsonName,const rapidjson::V int actionCount = DICTOOL->getArrayCount_json(dic, "actionlist"); for (int i=0; iautorelease(); + action->autorelease(); const rapidjson::Value &actionDic = DICTOOL->getDictionaryFromArray_json(dic, "actionlist", i); action->initWithDictionary(actionDic,root); actionList.pushBack(action); @@ -123,4 +123,4 @@ void ActionManagerEx::releaseActions() _actionDic.clear(); } -} \ No newline at end of file +}