mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
Ensure action class is freed
This commit is contained in:
@@ -46,6 +46,8 @@ SaveButton::~SaveButton()
|
||||
{
|
||||
if(thumbnail)
|
||||
delete thumbnail;
|
||||
if(actionCallback)
|
||||
delete actionCallback;
|
||||
}
|
||||
|
||||
void SaveButton::Tick(float dt)
|
||||
|
Reference in New Issue
Block a user