diff options
author | Max Horn | 2006-04-29 16:30:46 +0000 |
---|---|---|
committer | Max Horn | 2006-04-29 16:30:46 +0000 |
commit | fcd178fca4477d6aae8eb55da6e4191f84cb7a10 (patch) | |
tree | 95f52da74b68c4668bf797f15e478a85a7bd56f5 | |
parent | c4df5037dc19a053cb0a3f66a4cf0775ffc09183 (diff) | |
download | scummvm-rg350-fcd178fca4477d6aae8eb55da6e4191f84cb7a10.tar.gz scummvm-rg350-fcd178fca4477d6aae8eb55da6e4191f84cb7a10.tar.bz2 scummvm-rg350-fcd178fca4477d6aae8eb55da6e4191f84cb7a10.zip |
Added comment about a major leak in ScummEngine::restart
svn-id: r22228
-rw-r--r-- | engines/scumm/scumm.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index fca23f4e28..ade41b8675 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1978,6 +1978,9 @@ void ScummEngine::restart() { clearOwnerOf(i); // Reallocate arrays + // FIXME: This should already be called by readIndexFile. + // FIXME: regardless of that, allocateArrays and allocResTypeData leaks + // heavily, which should be fixed. allocateArrays(); // Reread index (reset objectstate etc) |