git: 5b39245ab6f3 - main - acpi: Free ivars in bus_child_deleted method
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Dec 2025 15:43:49 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b39245ab6f37450fd025127b4fc76b5e5ba135e
commit 5b39245ab6f37450fd025127b4fc76b5e5ba135e
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-12-26 15:36:12 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-12-26 15:36:12 +0000
acpi: Free ivars in bus_child_deleted method
Reviewed by: imp
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D54309
---
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 d2ccdfbf6535..0549c83ded79 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1116,6 +1116,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);
}
/*