Memory Leaks?

BlitzMax Forums/BlitzMax Programming/Memory Leaks?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

So what about in the following example:

[Creating a Ninja]
Create Sword
Create Ninja and pass Sword as a parameter
Attach Nija to the World in TLIST

[When Ninja Dies]
Remove Ninja from TLIST

Also, I assume GCCollect() will not fix this?

What is still in memory?
Both Sword and Nija?