aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2004-07-13 10:45:47 +0000
committerEugene Sandulenko2004-07-13 10:45:47 +0000
commit6d36d28224f9951fb0747adaf4330fda092f918e (patch)
treeeb561536d02f08c002dd2d2d2a1d6c9a5afacf5e
parentf1b8ff0e1e13bb1b424bbba37016ec7c33292487 (diff)
downloadscummvm-rg350-6d36d28224f9951fb0747adaf4330fda092f918e.tar.gz
scummvm-rg350-6d36d28224f9951fb0747adaf4330fda092f918e.tar.bz2
scummvm-rg350-6d36d28224f9951fb0747adaf4330fda092f918e.zip
Plug memory leak
svn-id: r14205
-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);
}