Clean up.

#565
This commit is contained in:
NathanSweet 2016-06-01 01:46:27 +02:00
parent 972f70c6ac
commit 05d60e5377

View File

@ -111,11 +111,10 @@ void _Cocos2dAttachmentLoader_disposeAttachment (spAttachmentLoader* loader, spA
} }
} }
void _Cocos2dAttachmentLoader_dispose(spAttachmentLoader* self) void _Cocos2dAttachmentLoader_dispose (spAttachmentLoader* loader) {
{ Cocos2dAttachmentLoader* self = SUB_CAST(Cocos2dAttachmentLoader, loader);
Cocos2dAttachmentLoader* selfCocos2dLoader = SUB_CAST(Cocos2dAttachmentLoader,self); spAttachmentLoader_dispose(SUPER_CAST(spAttachmentLoader, self->atlasAttachmentLoader));
_spAttachmentLoader_dispose(SUPER_CAST(spAttachmentLoader,selfCocos2dLoader->atlasAttachmentLoader)); _spAttachmentLoader_deinit(loader);
_spAttachmentLoader_deinit(self);
} }
Cocos2dAttachmentLoader* Cocos2dAttachmentLoader_create (spAtlas* atlas) { Cocos2dAttachmentLoader* Cocos2dAttachmentLoader_create (spAtlas* atlas) {