From c483a22f2a8c02c2b1ecaf5f9626999fd3ed3c7e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 23 Oct 2010 15:44:04 +0000 Subject: SWORD25: Get rid of global SharedPtr instances svn-id: r53734 --- engines/sword25/gfx/graphicengine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sword25/gfx/graphicengine.cpp') diff --git a/engines/sword25/gfx/graphicengine.cpp b/engines/sword25/gfx/graphicengine.cpp index 37499cc14d..54aa243cd8 100644 --- a/engines/sword25/gfx/graphicengine.cpp +++ b/engines/sword25/gfx/graphicengine.cpp @@ -85,6 +85,7 @@ GraphicEngine::GraphicEngine(Kernel *pKernel) : } GraphicEngine::~GraphicEngine() { + unregisterScriptBindings(); _backSurface.free(); _frameBuffer.free(); delete _thumbnail; -- cgit v1.2.3