git: 8963d6715331 - stable/15 - acpi: Free ivars in bus_child_deleted method
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Apr 2026 15:28:58 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=8963d6715331c94e0b43ad830a5a8895eabaeb4d
commit 8963d6715331c94e0b43ad830a5a8895eabaeb4d
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-12-26 15:36:12 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-04-24 15:26:38 +0000
acpi: Free ivars in bus_child_deleted method
Reviewed by: imp
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D54309
(cherry picked from commit 5b39245ab6f37450fd025127b4fc76b5e5ba135e)
---
sys/dev/acpica/acpi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 4a6c805f9c6a..bac5b8c889e0 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1040,6 +1040,7 @@ acpi_child_deleted(device_t dev, device_t child)
if (acpi_get_device(dinfo->ad_handle) == child)
AcpiDetachData(dinfo->ad_handle, acpi_fake_objhandler);
+ free(dinfo, M_ACPIDEV);
}
/*