Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3209 closed defect (wontfix)

CINE: resource/memory leaks

Reported by: cyxx Owned by: sev-
Priority: normal Component: Engine: Cine
Keywords: Cc:
Game: Future Wars

Description

When loading a savegame or when a new part of the game is setup by the scripts, new resources are loaded but the old resources are never free'd.

This seem to be due to the fact that freePartEntry and freeAnimDataTable are not yet implemented.

This is especially noticeable when loading a gamestate or running the future wars amiga demo.

Ticket imported from: #1726626. Ticket imported from: bugs/3209.

Change History (8)

comment:1 Changed 12 years ago by sev-

Owner: set to sev-

comment:2 Changed 12 years ago by sev-

This would be nice to fix before release, i.e. at least implement those 2 functions. I'll try to find time to do it after I fix 2 critical bugs assigned to me, so if you, Gregory, will fix it, I wouldn't complain a lot ;)

comment:3 Changed 12 years ago by cyxx

I committed some code but leaks are still present.

Should cine really be enabled in 0.10.0 ? There are still a bunch of TODO, FIXME and asserts in the code...

comment:4 Changed 12 years ago by fingolfin

cyx does have a point there. Eugene?

comment:5 Changed 12 years ago by sev-

The game is completable. It was tested several times, although it is broken at the moment by some of leak plugging fixes.

As of TODOs, those are Amiga-related, or related ti Operation Stealth. Future Wars has high compatibility.

Speaking of leaks, lots of our engines leak.

comment:6 Changed 12 years ago by sev-

The main leaks were fixed, and rest of the leaks will wait till OO'ifying of the engine.

comment:7 Changed 12 years ago by sev-

Resolution: wontfix
Status: newclosed

comment:8 Changed 12 years ago by sev-

The main leaks were fixed, and rest of the leaks will wait till OO'ifying of the engine.

Note: See TracTickets for help on using tickets.