aboutsummaryrefslogtreecommitdiff
path: root/po/pt_PT.po
diff options
context:
space:
mode:
authorColin Snover2017-05-20 16:34:32 -0500
committerColin Snover2017-05-20 21:14:18 -0500
commitef69a594672bb1e6549269ca695d6feae3a9c579 (patch)
treebd01e138894559e5f145ab500592c1fb595da6ef /po/pt_PT.po
parentbc728a1c939b7a753af5885ff42860dde1b0da5d (diff)
downloadscummvm-rg350-ef69a594672bb1e6549269ca695d6feae3a9c579.tar.gz
scummvm-rg350-ef69a594672bb1e6549269ca695d6feae3a9c579.tar.bz2
scummvm-rg350-ef69a594672bb1e6549269ca695d6feae3a9c579.zip
SCI: Stop leaking locals segments during script reuse
When a game deletes a script and then loads the same script again before it has been fully deallocated, SegManager::instantiateScript tries to reuse the same script & locals segments, but it was failing to reuse the old locals segment because Script::freeScript would unconditionally clear the old locals SegmentId, which meant the old locals segment would just leak. This patch does not fix old save games which may contain orphaned locals segments, but should prevent the problem from occurring going forward. (It is possible to clean up these old save games, but this is not a big leak so it doesn't seem worth the extra effort to do so.)
Diffstat (limited to 'po/pt_PT.po')
0 files changed, 0 insertions, 0 deletions