Peng Fan f4419db408 clk: imx: avoid memory leak
In case imx_register_uart_clocks return early, the imx_uart_clocks
memory will be no freed. So execute kfree always to avoid memory leak.

Fixes: 379c9a24cc23 ("clk: imx: Fix reparenting of UARTs not associated with stdout")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230104110032.1220721-2-peng.fan@oss.nxp.com
2023-01-29 20:29:17 +02:00
..
2020-08-22 20:36:57 +08:00
2022-09-19 13:06:45 +03:00
2022-01-29 15:12:07 +02:00
2020-09-07 11:08:50 +08:00
2022-01-29 15:12:07 +02:00
2020-08-23 10:08:35 +08:00
2023-01-29 20:29:17 +02:00
2022-09-19 13:06:45 +03:00