diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-08-10 15:31:04 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-08-12 13:12:58 +0300 |
commit | 6e6d847a8ce18ab2fbec4f579f682486a82d2c6b (patch) | |
tree | eb551142bdb4ba60e22a8d90068683d10599cc97 /arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | |
parent | e4ad279ae345413d900d791f2f618d0a1cd0d791 (diff) | |
download | linux-6e6d847a8ce18ab2fbec4f579f682486a82d2c6b.tar.xz |
soc: aspeed: socinfo: Add kfree for kstrdup
Add kfree() in the later error handling in order to avoid memory leak.
Fixes: e0218dca5787 ("soc: aspeed: Add soc info driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20230707021625.7727-1-jiasheng@iscas.ac.cn
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230810123104.231167-1-joel@jms.id.au
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts')
0 files changed, 0 insertions, 0 deletions