Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#3209 closed defect (wontfix)

CINE: resource/memory leaks

Reported by: cyxx Owned by: sev-
Priority: normal Component: Engine: Cine
Version: 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 by sev-, 17 years ago

Owner: set to sev-

comment:2 by sev-, 17 years ago

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 by cyxx, 17 years ago

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 by fingolfin, 17 years ago

cyx does have a point there. Eugene?

comment:5 by sev-, 17 years ago

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 by sev-, 17 years ago

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

comment:7 by sev-, 17 years ago

Resolution: wontfix
Status: newclosed

comment:8 by sev-, 17 years ago

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.