[Scummvm-tracker] [ScummVM :: Bugs] #16315: SLUDGE: Potential memory leak
ScummVM :: Bugs
trac at scummvm.org
Sat Oct 25 02:26:50 UTC 2025
#16315: SLUDGE: Potential memory leak
------------------------+-----------------------------
Reporter: ccawley2011 | Owner: (none)
Type: defect | Status: new
Priority: blocker | Component: Engine: SLUDGE
Version: | Resolution:
Keywords: | Game:
------------------------+-----------------------------
Comment (by sluicebox):
There are two sludge resource leaks reported by Covertity. Issue 1379786
is about `SoundList` objects.
Just looking at the code, I see that `SoundList` objects passed to
`SoundManager::playSoundList` are leaked when `SoundManager::_soundOK` is
false. There may be more complex leaks after that. It looks like objects
in `SoundManager::_soundListHandles` are only deleted by
`SoundManager::handleSoundLists` in certain situations.
The other Coverity leak issue is 1388399 in `PeopleManager::loadPeople`.
--
Ticket URL: <https://bugs.scummvm.org/ticket/16315#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list