diff options
author | Ross Lagerwall <[email protected]> | 2023-09-06 12:08:46 +0100 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-09-06 12:19:29 -0500 |
commit | 8ec9c1d5d0a5a4744516adb483b97a238892f9d5 (patch) | |
tree | f4c1cae00c45febf03a5761760f175cb24e4ba1f /lib/test_fortify/write_overflow-memcpy.c | |
parent | 26641b3f22abe3f03bd8e078c116cc98de740f43 (diff) |
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 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions