diff options
author | Eugene Sandulenko | 2004-07-13 10:45:47 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-07-13 10:45:47 +0000 |
commit | 6d36d28224f9951fb0747adaf4330fda092f918e (patch) | |
tree | eb561536d02f08c002dd2d2d2a1d6c9a5afacf5e /scumm | |
parent | f1b8ff0e1e13bb1b424bbba37016ec7c33292487 (diff) | |
download | scummvm-rg350-6d36d28224f9951fb0747adaf4330fda092f918e.tar.gz scummvm-rg350-6d36d28224f9951fb0747adaf4330fda092f918e.tar.bz2 scummvm-rg350-6d36d28224f9951fb0747adaf4330fda092f918e.zip |
Plug memory leak
svn-id: r14205
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/resource_v7he.cpp | 1 |
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); } |