Session destroy does not clear memory

This will fix that.