aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/gui/gui_cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_cursor.cpp b/engines/sci/gui/gui_cursor.cpp
index e4399754d8..128190aef9 100644
--- a/engines/sci/gui/gui_cursor.cpp
+++ b/engines/sci/gui/gui_cursor.cpp
@@ -67,7 +67,7 @@ void SciGuiCursor::setShape(GuiResourceId resourceId) {
if (resourceId == -1) {
// no resourceId given, so we actually hide the cursor
hide();
- delete rawBitmap;
+ delete[] rawBitmap;
return;
}