[Scummvm-tracker] [ScummVM :: Bugs] #16397: HPL1: Penumbra crashes on a new game

ScummVM :: Bugs trac at scummvm.org
Sun Jan 11 06:10:27 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 digitall):

 @shamazmazum While I assume that patch compiles and works for you, I think
 this would introduce a memory leak and I am not sure how safe it is to be
 returning objects constructed locally on the stack in this way, even from
 a static function.

 I will try to use your example to fix the issue avoiding the casting...
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16397#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list