Whys it causing a memory leak? (types and lists)

BlitzMax Forums/BlitzMax Beginners Area/Whys it causing a memory leak? (types and lists)

But Mark, from what you said

Local my_image=LoadImage( blah ) 'Note: my_image is an int

...then you must "Release my_image" later to avoid a leak.



We need to release integer handles. Is there a way so we don't have to do this, so handles are automatically freed? Or maybe not allow Int handles to be returned so people have to use objects - I think that'd be better.

Aaron