diff options
-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; } |