Browse Source

[c] Fixed memory leak in spTrackEntry_dispose, closes #770

badlogic 8 years ago
parent
commit
a0f0e2ee1f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spine-c/src/spine/AnimationState.c

+ 1 - 0
spine-c/src/spine/AnimationState.c

@@ -171,6 +171,7 @@ void _spEventQueue_drain (_spEventQueue* self) {
 }
 
 void _spAnimationState_disposeTrackEntry (spTrackEntry* entry) {
+    FREE(entry->timelinesFirst);
 	FREE(entry);
 }