Opened 17 years ago

Closed 17 years ago

#1062 closed defect (fixed)

Zak: Memory Leak in allocResTypeData()

Reported by: SF/arm_in Owned by: fingolfin
Priority: low Component: Engine: SCUMM
Keywords: Cc:
Game: Zak McKracken

Description

When running the Amiga version of Zak McKracken (German, Win32, MSVC, Scumm VM 20030722), allocResTypeData() is called twice for ressources id=1...4 which causes memory to be allocated twice before being freed just once:

"Looking for zak Trying to start game 'Zak McKracken and the Alien Mindbenders' WARNING: allocRes called 10 0! WARNING: Enhanced V2 game detected! WARNING: allocResTypeData called id=3 WARNING: allocResTypeData called id=1 WARNING: allocResTypeData called id=17 WARNING: allocResTypeData called id=4 WARNING: allocResTypeData called id=2

[...] until here:

WARNING: allocResTypeData called id=1 WARNING: allocResTypeData called id=3 WARNING: allocResTypeData called id=2 WARNING: allocResTypeData called id=4"

Ticket imported from: #775640. Ticket imported from: bugs/1062.

Change History (1)

comment:1 by fingolfin, 17 years ago

Owner: set to fingolfin
Priority: normallow
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.