diff options
author | 2024-09-24 15:32:20 +0800 | |
---|---|---|
committer | 2024-09-24 15:32:20 +0800 | |
commit | 5016c3a31a6d74eaf2fdfdec673eae8fcf90379e (patch) | |
tree | 3588ee06fb8900fc73ec3bd683805d896e925f9b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | LoongArch: Simplify _percpu_read() and _percpu_write() (diff) | |
download | linux-rng-5016c3a31a6d74eaf2fdfdec673eae8fcf90379e.tar.xz linux-rng-5016c3a31a6d74eaf2fdfdec673eae8fcf90379e.zip |
LoongArch: Fix memleak in pci_acpi_scan_root()
Add kfree(root_ops) in this case to avoid memleak of root_ops,
leaks when pci_find_bus() != 0.
Signed-off-by: Yuli Wang <wangyuli@uniontech.com>
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions