From e44d28ea7b22a01370fb36782ced590bd2bdbff6 Mon Sep 17 00:00:00 2001 From: chengstory Date: Mon, 6 Jan 2014 13:27:19 +0800 Subject: [PATCH] replace CC_SAFE_RELEASE to CC_SAFE_RELEASE_NULL --- cocos/editor-support/cocostudio/CCSSceneReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/editor-support/cocostudio/CCSSceneReader.cpp b/cocos/editor-support/cocostudio/CCSSceneReader.cpp index 36d0adc97d..44bd667507 100644 --- a/cocos/editor-support/cocostudio/CCSSceneReader.cpp +++ b/cocos/editor-support/cocostudio/CCSSceneReader.cpp @@ -146,7 +146,7 @@ Node* SceneReader::createObject(const rapidjson::Value &dict, cocos2d::Node* par } else { - CC_SAFE_RELEASE(com); + CC_SAFE_RELEASE_NULL(com); } } if(_fnSelector != nullptr)