diff options
author | Matthew Hoops | 2010-11-09 18:58:44 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-11-09 18:58:44 +0000 |
commit | 45f4f84e03320cdcac569405b6209b5e763f0bdf (patch) | |
tree | b4edfc4622e3ca3dd29e84cd5a2e99b17d9351c9 /engines/mohawk | |
parent | 0dd4a4610269e2ff66327dee0cc70ff8e4a26084 (diff) | |
download | scummvm-rg350-45f4f84e03320cdcac569405b6209b5e763f0bdf.tar.gz scummvm-rg350-45f4f84e03320cdcac569405b6209b5e763f0bdf.tar.bz2 scummvm-rg350-45f4f84e03320cdcac569405b6209b5e763f0bdf.zip |
MOHAWK: Fix one more memory leak (hopefully the last :))
svn-id: r54166
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/graphics.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index a2fb8e3f0c..4aca954155 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -245,6 +245,7 @@ void MystGraphics::changeCursor(uint16 cursor) { CursorMan.replaceCursor((byte *)data->_surface->pixels, data->_surface->w, data->_surface->h, hotspotX, hotspotY, _pixelFormat.RGBToColor(255, 255, 255), 1, &_pixelFormat); _vm->_needsUpdate = true; + delete data; } void MystGraphics::drawRect(Common::Rect rect, bool active) { |