RenderOptions controller should delete its callback

This commit is contained in:
Simon Robertshaw 2012-06-18 15:45:31 +01:00
parent edac8b5481
commit 81423ba568

View File

@ -61,6 +61,8 @@ RenderController::~RenderController() {
{
ui::Engine::Ref().CloseWindow();
}
if(callback)
delete callback;
delete renderModel;
}