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(); }