mirror of https://github.com/axmolengine/axmol.git
replace CC_SAFE_RELEASE to CC_SAFE_RELEASE_NULL
This commit is contained in:
parent
e4bec7d1ef
commit
e44d28ea7b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue