From 76f96d0b4178e6d656929202c0c957591233431b Mon Sep 17 00:00:00 2001 From: chengstory Date: Mon, 6 Jan 2014 10:42:17 +0800 Subject: [PATCH] fixed ActionNode memoryleak. --- cocos/editor-support/cocostudio/CCActionNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/editor-support/cocostudio/CCActionNode.cpp b/cocos/editor-support/cocostudio/CCActionNode.cpp index 1caacb0f05..3a174e7f47 100644 --- a/cocos/editor-support/cocostudio/CCActionNode.cpp +++ b/cocos/editor-support/cocostudio/CCActionNode.cpp @@ -64,6 +64,7 @@ ActionNode::~ActionNode() for (auto object : _frameArray) { object->clear(); + CC_SAFE_DELETE(object); } _frameArray.clear(); }