memoryleak=FreeGadget()

BlitzMax Forums/BlitzMax Programming/memoryleak=FreeGadget()

oh sorry I missed that off the sample code but it's the same as that is what I am doing in my actual application.