mirror of https://github.com/axmolengine/axmol.git
CCNodeLoader: Fixed small memory leak.
This commit is contained in:
parent
5c38dd7193
commit
28862c30cf
|
@ -231,7 +231,7 @@ void CCNodeLoader::parseProperties(CCNode * pNode, CCNode * pParent, CCBReader *
|
|||
if(setProp) {
|
||||
this->onHandlePropTypeBlock(pNode, pParent, propertyName, blockData, pCCBReader);
|
||||
}
|
||||
// TODO delete block; ???
|
||||
delete blockData;
|
||||
break;
|
||||
}
|
||||
case kCCBPropTypeBlockCCControl: {
|
||||
|
|
Loading…
Reference in New Issue