[c] Incorrect deallocation order, closes #913

This commit is contained in:
badlogic 2017-05-29 11:45:19 +02:00
parent ac72220dc0
commit 928f4b8e14

View File

@ -236,8 +236,8 @@ void spAnimationState_dispose (spAnimationState* self) {
_spEventQueue_free(internal->queue);
FREE(internal->events);
FREE(internal->propertyIDs);
FREE(internal);
spTrackEntryArray_dispose(self->mixingTo);
FREE(internal);
}
void spAnimationState_update (spAnimationState* self, float delta) {