mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
Add kfree() in the later error handling in order to avoid memory leak.
Fixes: e0218dca57 ("soc: aspeed: Add soc info driver")
Signed-off-by: Jiasheng Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>