aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-29 16:58:22 -0400
committerMatthew Hoops2011-10-07 11:32:57 -0400
commit711d0ff0379ba03c60d7a5ab0e30753c32c9c634 (patch)
tree8d31e45b2c83d3b5022d269dd0ffb754fa5ebc6c /common
parent75d2a43302e5f59bed2678ab21a41586d1c6a6eb (diff)
downloadscummvm-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.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 {