[PATCH openEuler-5.10 047/237] tty: serial: 8250: serial_cs: Fix a memory leak in error handling path