diff options
author | Max Horn | 2004-06-27 13:24:15 +0000 |
---|---|---|
committer | Max Horn | 2004-06-27 13:24:15 +0000 |
commit | f8cc10321e385dcd06cb130d683ae020445ab739 (patch) | |
tree | d29d132e038e406e92337707985400e7376adcec /scumm | |
parent | 907f2dbf192afdfd9fee2984a2fca8254be1ccd2 (diff) | |
download | scummvm-rg350-f8cc10321e385dcd06cb130d683ae020445ab739.tar.gz scummvm-rg350-f8cc10321e385dcd06cb130d683ae020445ab739.tar.bz2 scummvm-rg350-f8cc10321e385dcd06cb130d683ae020445ab739.zip |
Fix memory leak
svn-id: r14080
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 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) { |