diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2019-08-16 17:03:01 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2019-08-16 17:03:01 +0000 |
| commit | e63852a7532181a14cec2928b31af2209e98414a (patch) | |
| tree | be94508475add18bbaa0cacd6c467983d2b8a443 /source/common/dmrestag.c | |
| parent | 0ada71f05e76bf61eb2d5aba852db00705edd364 (diff) | |
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 */ |
