mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 10:49:53 +02:00
Fix memory leak in SaveRenderer (not cleaned up on exit)
This commit is contained in:
@@ -84,4 +84,7 @@ VideoBuffer * SaveRenderer::Render(GameSave * save, bool decorations, bool fire,
|
|||||||
|
|
||||||
SaveRenderer::~SaveRenderer()
|
SaveRenderer::~SaveRenderer()
|
||||||
{
|
{
|
||||||
|
delete ren;
|
||||||
|
delete sim;
|
||||||
|
delete g;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user