aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2001-01-22 05:33:36 +0000
committerMike Smith <msmith@FreeBSD.org>2001-01-22 05:33:36 +0000
commit0c645db4c07d7c51478f23518c78355bc190d557 (patch)
tree7ba98f59270fbce490f749e6b32eeee240193240
parentbe821963c124d2581baf2cbe20f2b6774067c9d8 (diff)
Notes
-rw-r--r--sys/dev/acpica/Osd/OsdSynch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/Osd/OsdSynch.c b/sys/dev/acpica/Osd/OsdSynch.c
index de532ca01fb8..154bce9efe0f 100644
--- a/sys/dev/acpica/Osd/OsdSynch.c
+++ b/sys/dev/acpica/Osd/OsdSynch.c
@@ -73,6 +73,8 @@ AcpiOsCreateSemaphore(UINT32 MaxUnits, UINT32 InitialUnits, ACPI_HANDLE *OutHand
ACPI_STATUS
AcpiOsDeleteSemaphore (ACPI_HANDLE Handle)
{
+ struct acpi_semaphore *as = (struct acpi_semaphore *)Handle;
+ mtx_destroy(&as->as_mtx);
free(Handle, M_ACPISEM);
return(AE_OK);
}