[Scummvm-tracker] [ScummVM :: Bugs] #16397: HPL1: Penumbra crashes on a new game
ScummVM :: Bugs
trac at scummvm.org
Sun Jan 11 17:50:47 UTC 2026
#16397: HPL1: Penumbra crashes on a new game
------------------------+---------------------------------
Reporter: shamazmazum | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: HPL1
Version: | Resolution:
Keywords: | Game: Penumbra: Overture
------------------------+---------------------------------
Comment (by shamazmazum):
> I think this would introduce a memory leak
How? The matrix is created on stack and then copied to where it's needed.
> I am not sure how safe it is to be returning objects constructed locally
on the stack
Perfectly safe.
https://stackoverflow.com/questions/1529447/does-return-statement-copy-
values
--
Ticket URL: <https://bugs.scummvm.org/ticket/16397#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list