aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-29 16:58:22 -0400
committerMatthew Hoops2011-09-29 16:58:22 -0400
commit7390d327f19df4d0da38ef6d989aa99bfd08b684 (patch)
tree69ce95830de393d98a30807f50bd12ad0b2cd401 /common
parent9ab6246123ef92ff655e90ea086c25cffc02ae43 (diff)
downloadscummvm-rg350-7390d327f19df4d0da38ef6d989aa99bfd08b684.tar.gz
scummvm-rg350-7390d327f19df4d0da38ef6d989aa99bfd08b684.tar.bz2
scummvm-rg350-7390d327f19df4d0da38ef6d989aa99bfd08b684.zip
COMMON: Ensure numTypes is set to 0 on close
Diffstat (limited to 'common')
-rw-r--r--common/macresman.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/macresman.cpp b/common/macresman.cpp
index c1cab8b96a..2b9c68ade9 100644
--- a/common/macresman.cpp
+++ b/common/macresman.cpp
@@ -69,6 +69,7 @@ void MacResManager::close() {
delete[] _resLists; _resLists = 0;
delete[] _resTypes; _resTypes = 0;
delete _stream; _stream = 0;
+ _resMap.numTypes = 0;
}
bool MacResManager::hasDataFork() const {