timle8n1 & BrianSlick
Thanks for taking the time to reply.
I have started a new project from scratch and implemented things following everyone's feedback here - and now have a successful release of memory.
Not sure why I couldn't get this to happen on the old project and it's frustrating to have to start again - but it proves the theories are sound, so I am more than happy!
Thanks again to all who responded.
|