Level struct functions and airstrike memory leakage

Eero Tamminen eero.tamminen at netsonic.fi
Sun Jul 17 15:00:12 EDT 2005


Hi,

While looking at memory leakage from Airstrike, I noticed that level struct
has init/update/free methods.  These don't seem to be used, can they be
removed?

Another minor leakage is when generators tag the generated sprites.
There's nothing that would remove the tag from the dict when something
kills the sprite.  That would be inconvenient from the generators, could
it be done at a lower (sprite/object) level?   (sprite struct size is not
that much and only few sprites get tagged so it doesn't matter that much).


	- Eero



More information about the airstrike mailing list