diff options
Diffstat (limited to 'source/common/dmrestag.c')
| -rw-r--r-- | source/common/dmrestag.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/common/dmrestag.c b/source/common/dmrestag.c index 8ab92d71f162..072409f7615c 100644 --- a/source/common/dmrestag.c +++ b/source/common/dmrestag.c @@ -833,8 +833,12 @@ AcpiGetTagPathname ( /* Internalize the namepath to AML format */ - AcpiNsInternalizeName (Pathname, &InternalPath); + Status = AcpiNsInternalizeName (Pathname, &InternalPath); ACPI_FREE (Pathname); + if (ACPI_FAILURE (Status)) + { + return (NULL); + } /* Update the Op with the symbol */ |
