Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29143
b: refs/heads/master
c: 64385f2
h: refs/heads/master
i:
  29141: b7edde2
  29139: ee9bb92
  29135: 78a4ed3
v: v3
  • Loading branch information
Vasily Averin authored and Len Brown committed May 14, 2006
1 parent 15f45e5 commit 41a4261
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5810452d00ae5fed7f720185d02d79ec9d15b91e
refs/heads/master: 64385f2fd8bc9d8803c8d10dcd391871cb126b77
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,13 @@ acpi_evaluate_integer(acpi_handle handle,
status = acpi_evaluate_object(handle, pathname, arguments, &buffer);
if (ACPI_FAILURE(status)) {
acpi_util_eval_error(handle, pathname, status);
kfree(element);
return_ACPI_STATUS(status);
}

if (element->type != ACPI_TYPE_INTEGER) {
acpi_util_eval_error(handle, pathname, AE_BAD_DATA);
kfree(element);
return_ACPI_STATUS(AE_BAD_DATA);
}

Expand Down

0 comments on commit 41a4261

Please sign in to comment.