What is the best way and place to deallocate the memory?

Printable View