diff options
author | 2023-08-10 22:01:04 +0930 | |
---|---|---|
committer | 2023-08-12 12:12:58 +0200 | |
commit | 6e6d847a8ce18ab2fbec4f579f682486a82d2c6b (patch) | |
tree | eb551142bdb4ba60e22a8d90068683d10599cc97 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: aspeed: uart-routing: Use __sysfs_match_string (diff) | |
download | wireguard-linux-6e6d847a8ce18ab2fbec4f579f682486a82d2c6b.tar.xz wireguard-linux-6e6d847a8ce18ab2fbec4f579f682486a82d2c6b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions