Ensure action class is freed

This commit is contained in:
Simon Robertshaw 2012-01-20 23:52:19 +00:00
parent fa201a7aeb
commit 0e5a46aa64

View File

@ -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)