Memory clean up.