Ensure action class is freed
This commit is contained in:
parent
fa201a7aeb
commit
0e5a46aa64
@ -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