From 4b0172d1f666a12cffbdd6bd331e95a92d8f652f Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 23 Jun 2005 23:33:34 +0000 Subject: Finishing resource manager ability to clean up resources. Still work to do on resources other than images. --- src/graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/graphics.cpp') diff --git a/src/graphics.cpp b/src/graphics.cpp index 2619b58f..0ebacc08 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -68,6 +68,8 @@ Graphics::~Graphics() { // Deinitialize for drawing _endDraw(); + + mouseCursor->decRef(); } int Graphics::getWidth() -- cgit v1.2.3-60-g2f50