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 53abdb3f60..477c8ee248 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(cursor);
}
int Win32ResExtractor::extractResource(const char *resType, char *resName, byte **data) {