[PATCH 5.15 495/532] tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error