diff options
author | Matthew Hoops | 2011-09-29 16:58:22 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-07 11:32:57 -0400 |
commit | 711d0ff0379ba03c60d7a5ab0e30753c32c9c634 (patch) | |
tree | 8d31e45b2c83d3b5022d269dd0ffb754fa5ebc6c /common | |
parent | 75d2a43302e5f59bed2678ab21a41586d1c6a6eb (diff) | |
download | scummvm-rg350-711d0ff0379ba03c60d7a5ab0e30753c32c9c634.tar.gz scummvm-rg350-711d0ff0379ba03c60d7a5ab0e30753c32c9c634.tar.bz2 scummvm-rg350-711d0ff0379ba03c60d7a5ab0e30753c32c9c634.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 { |