aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2003-09-04 15:55:41 +0000
committerNate Lawson <njl@FreeBSD.org>2003-09-04 15:55:41 +0000
commitf97739da4d8a980bb3d25c6768e158790b93dcb4 (patch)
treeaca343c56a5b926419ff431edbcf730e6985f409 /sys/dev
parenteec804bbb83d3f54b253b38456d9e29c2e0eb6c4 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index a1efa1fe987a..8463f1b48eac 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1232,8 +1232,8 @@ acpi_EvaluateInteger(ACPI_HANDLE handle, char *path, int *number)
status = AcpiEvaluateObject(handle, path, NULL, &buf);
if (ACPI_SUCCESS(status))
status = acpi_ConvertBufferToInteger(&buf, number);
+ AcpiOsFree(buf.Pointer);
}
- AcpiOsFree(buf.Pointer);
}
return (status);
}