Fixes another memory leak
This commit is contained in:
parent
7e71fcc773
commit
9968b377a5
|
@ -518,6 +518,9 @@ resetGame(void)
|
|||
if (charSelectMenu)
|
||||
menu_destroy(charSelectMenu);
|
||||
charSelectMenu = NULL;
|
||||
if (characterSelectScreen)
|
||||
screen_destroy(characterSelectScreen);
|
||||
charSelectMenu = NULL;
|
||||
|
||||
if (creditsScreen)
|
||||
screen_destroy(creditsScreen);
|
||||
|
|
Loading…
Reference in New Issue