how do I free stuff?

BlitzMax Forums/BlitzMax Programming/how do I free stuff?

You can also use the Release command:
Release test_image
Flushmem


And everything is released at the end of the program, as usual.