fixed a few memory leaks

This commit is contained in:
Christoph Oelckers 2024-10-05 10:22:05 +02:00
commit f0676cdf01
6 changed files with 15 additions and 2 deletions

View file

@ -372,6 +372,13 @@ FStartScreen* GetGameStartScreen(int max_progress)
return nullptr;
}
FStartScreen::~FStartScreen()
{
if (StartupTexture) delete StartupTexture;
if (HeaderTexture) delete HeaderTexture;
if (NetTexture) delete NetTexture;
}
//==========================================================================
//
// ST_Util_ClearBlock