[Scummvm-tracker] [ScummVM :: Bugs] #16052: LASTEXPRESS: Possible memory leaks

ScummVM :: Bugs trac at scummvm.org
Fri Jun 27 20:17:50 UTC 2025


#16052: LASTEXPRESS: Possible memory leaks
-------------------------+----------------------------------
Reporter:  eriktorbjorn  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: LastExpress
 Version:                |  Resolution:
Keywords:                |        Game:
-------------------------+----------------------------------
Comment (by eriktorbjorn):

 About the font data, I noticed that initSubtitles() gets called several
 times, just to get to the opening menu: Once from
 `LastExpressEngine::startUp()` and twice from
 `GraphicsManager::initLuminosityValues()`. But it was only freed once on
 exit, so I guess it was the other two that leaked.

 It can also be called from `GraphicsManager::setGammaLevel()`, and from a
 third spot in  `GraphicsManager::initLuminosityValues()`. I think that's
 all?
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16052#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list