fix memleak in aniplayer
This commit is contained in:
parent
004ef04384
commit
280b0739d8
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ void player_free(Player *plr) {
|
|||
plr->mode->procs.free(plr);
|
||||
}
|
||||
|
||||
aniplayer_free(&plr->ani);
|
||||
ent_unregister(&plr->ent);
|
||||
delete_enemy(&plr->focus_circle, plr->focus_circle);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue