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) {
|
if(setProp) {
|
||||||
this->onHandlePropTypeBlock(pNode, pParent, propertyName, blockData, pCCBReader);
|
this->onHandlePropTypeBlock(pNode, pParent, propertyName, blockData, pCCBReader);
|
||||||
}
|
}
|
||||||
// TODO delete block; ???
|
delete blockData;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kCCBPropTypeBlockCCControl: {
|
case kCCBPropTypeBlockCCControl: {
|
||||||
|
|
Loading…
Reference in New Issue