memory leak tips?

Blitz3D Forums/Blitz3D Programming/memory leak tips?

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.

Entirely untrue. If you've stored a handle to an image inside one of the type fields and delete its reference type, the image remains unfreed, creating a leak.

In general, creating constructor and destructor functions for types and calling them inline, rather than trying to remember all the details in the midst of other routines, is best.