Is this the right/best way to free up the memory

Printable View