aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2023-01-04 19:00:29 +0800
committerAbel Vesa <[email protected]>2023-01-29 20:29:17 +0200
commitf4419db4086e8c31821da14140e81498516a3c75 (patch)
treeee671b99ccdca314ca94768e6221198e8cea6f08 /tools/testing/selftests/bpf/progs/test_autoload.c
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
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 <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Signed-off-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions