diff options
author | Matthew Hoops | 2011-09-29 16:58:22 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-09-29 16:58:22 -0400 |
commit | 7390d327f19df4d0da38ef6d989aa99bfd08b684 (patch) | |
tree | 69ce95830de393d98a30807f50bd12ad0b2cd401 /common | |
parent | 9ab6246123ef92ff655e90ea086c25cffc02ae43 (diff) | |
download | scummvm-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.cpp | 1 |
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 { |