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