aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/resource_v7he.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/resource_v7he.cpp b/scumm/resource_v7he.cpp
index ef3d53858c..a9f1442d40 100644
--- a/scumm/resource_v7he.cpp
+++ b/scumm/resource_v7he.cpp
@@ -68,6 +68,7 @@ void Win32ResExtractor::setCursor(int id) {
_vm->setCursorHotspot(hotspot_x, hotspot_y);
_vm->grabCursorFromBuffer(cursor, w, h);
+ free(cursorRes);
free(cursor);
}