Destructor.
Some considerations about memory.