replace CC_SAFE_RELEASE to CC_SAFE_RELEASE_NULL

This commit is contained in:
chengstory 2014-01-06 13:27:19 +08:00
parent e4bec7d1ef
commit e44d28ea7b
1 changed files with 1 additions and 1 deletions

View File

@ -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)