mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
Fixed memory leak when track is cleared while mixing from a previous animation.
This commit is contained in:
parent
3370501317
commit
cd7538d6a1
@ -41,6 +41,7 @@ spTrackEntry* _spTrackEntry_create () {
|
||||
}
|
||||
|
||||
void _spTrackEntry_dispose (spTrackEntry* entry) {
|
||||
if (entry->previous) _spTrackEntry_dispose(entry->previous);
|
||||
FREE(entry);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user