Flushmem not freeing allocated memory?

BlitzMax Forums/BlitzMax Beginners Area/Flushmem not freeing allocated memory?

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.

Hi!

Simple as that:

1. I load an image
2. Set it = NULL
3. Flushmem()
4. Goto 1.

This creates a memory leak... why?