diff options
author | Matthew Hoops | 2010-01-19 05:08:53 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-01-19 05:08:53 +0000 |
commit | 2d776186f6755b3130f86036ef70aa2be821487c (patch) | |
tree | 23cd522d2ea882e310b7d817bda2f6944a19a046 | |
parent | c20df070f35557a8de5fbd3475ee5579abc584bf (diff) | |
download | scummvm-rg350-2d776186f6755b3130f86036ef70aa2be821487c.tar.gz scummvm-rg350-2d776186f6755b3130f86036ef70aa2be821487c.tar.bz2 scummvm-rg350-2d776186f6755b3130f86036ef70aa2be821487c.zip |
Missed copying a line from console.cpp; fixes a memory leak.
svn-id: r47372
-rw-r--r-- | engines/mohawk/riven.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 7cb69b95e1..4d9c82d68f 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -540,6 +540,7 @@ uint32 MohawkEngine_Riven::getCurCardRMAP() { Common::SeekableReadStream *rmapStream = getRawData(ID_RMAP, 1); rmapStream->seek(_curCard * 4); uint32 rmapCode = rmapStream->readUint32BE(); + delete rmapStream; return rmapCode; } |