CCNodeLoader: Fixed small memory leak.

This commit is contained in:
Nicolas Gramlich 2012-06-04 16:03:45 -07:00
parent 5c38dd7193
commit 28862c30cf
1 changed files with 1 additions and 1 deletions

View File

@ -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: {