mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
* [SPINE-C] fix mem leak
This commit is contained in:
parent
69353f9d22
commit
60fc7ac56e
@ -117,6 +117,10 @@ void spSkeleton_dispose (spSkeleton* self) {
|
||||
spSlot_dispose(self->slots[i]);
|
||||
FREE(self->slots);
|
||||
|
||||
for (i = 0; i < self->ikConstraintsCount; ++i)
|
||||
spIkConstraint_dispose(self->ikConstraints[i]);
|
||||
FREE(self->ikConstraints);
|
||||
|
||||
FREE(self->drawOrder);
|
||||
FREE(self);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user