Don't leak memory in the client when passing along tty modes.