Fix multiple memory leaks and stale pooled allocations (#1)

This commit is contained in:
GabsPuNs
2026-05-28 18:58:35 -04:00
parent d7add3be09
commit 338604d7c5
4 changed files with 12 additions and 8 deletions

View File

@@ -195,6 +195,7 @@ GameRenderer::~GameRenderer()
{
if(rainXa != nullptr) delete [] rainXa;
if(rainZa != nullptr) delete [] rainZa;
delete random;
}
void GameRenderer::tick(bool first) // 4J - add bFirst