diff options
| author | Ross Lagerwall <[email protected]> | 2023-09-06 11:08:46 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2023-09-06 17:19:29 +0000 |
| commit | 8ec9c1d5d0a5a4744516adb483b97a238892f9d5 (patch) | |
| tree | f4c1cae00c45febf03a5761760f175cb24e4ba1f /tools/perf/util/c++/clang.cpp | |
| parent | PCI: Fix CONFIG_PCI_DYNAMIC_OF_NODES kconfig dependencies (diff) | |
| download | kernel-8ec9c1d5d0a5a4744516adb483b97a238892f9d5.tar.gz kernel-8ec9c1d5d0a5a4744516adb483b97a238892f9d5.zip | |
PCI: Free released resource after coalescing
release_resource() doesn't actually free the resource or resource list
entry so free the resource list entry to avoid a leak.
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: e54223275ba1 ("PCI: Release resource invalidated by coalescing")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Kalle Valo <[email protected]>
Tested-by: Kalle Valo <[email protected]>
Signed-off-by: Ross Lagerwall <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: [email protected] # v5.16+
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
