Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117314
b: refs/heads/master
c: 393a75d
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Oct 23, 2008
1 parent c02d006 commit e371a6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1044f1f65b7df2aae979e397904c4985eeb99ba2
refs/heads/master: 393a75d6b7bae59221b2122634eb4cb905e84208
5 changes: 3 additions & 2 deletions trunk/drivers/acpi/namespace/nsnames.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ char *acpi_ns_get_external_pathname(struct acpi_namespace_node *node)

size = acpi_ns_get_pathname_length(node);
if (!size) {
return (NULL);
return_PTR(NULL);
}

/* Allocate a buffer to be returned to caller */
Expand All @@ -157,7 +157,8 @@ char *acpi_ns_get_external_pathname(struct acpi_namespace_node *node)

status = acpi_ns_build_external_path(node, size, name_buffer);
if (ACPI_FAILURE(status)) {
return (NULL);
ACPI_FREE(name_buffer);
return_PTR(NULL);
}

return_PTR(name_buffer);
Expand Down

0 comments on commit e371a6e

Please sign in to comment.