mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fix mismatched memory deallocator in SkeletonRenderer.cpp (#702)
This commit is contained in:
parent
90c2088497
commit
3c12d54653
@ -98,7 +98,7 @@ SkeletonRenderer::~SkeletonRenderer () {
|
|||||||
spSkeleton_dispose(_skeleton);
|
spSkeleton_dispose(_skeleton);
|
||||||
if (_atlas) spAtlas_dispose(_atlas);
|
if (_atlas) spAtlas_dispose(_atlas);
|
||||||
if (_attachmentLoader) spAttachmentLoader_dispose(_attachmentLoader);
|
if (_attachmentLoader) spAttachmentLoader_dispose(_attachmentLoader);
|
||||||
delete _worldVertices;
|
delete [] _worldVertices;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SkeletonRenderer::initWithData (spSkeletonData* skeletonData, bool ownsSkeletonData) {
|
void SkeletonRenderer::initWithData (spSkeletonData* skeletonData, bool ownsSkeletonData) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user