diff options
| author | Jiasheng Jiang <[email protected]> | 2023-08-10 12:31:04 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2023-08-12 10:12:58 +0000 |
| commit | 6e6d847a8ce18ab2fbec4f579f682486a82d2c6b (patch) | |
| tree | eb551142bdb4ba60e22a8d90068683d10599cc97 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | soc: aspeed: uart-routing: Use __sysfs_match_string (diff) | |
| download | kernel-6e6d847a8ce18ab2fbec4f579f682486a82d2c6b.tar.gz kernel-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 <[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]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
