diff options
-rw-r--r-- | source/components/debugger/dbnames.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/components/debugger/dbnames.c b/source/components/debugger/dbnames.c index ae4a10ca5..084a25287 100644 --- a/source/components/debugger/dbnames.c +++ b/source/components/debugger/dbnames.c @@ -883,6 +883,9 @@ AcpiDbDisplayObjects ( if (!ObjTypeArg) { ObjectInfo = ACPI_ALLOCATE_ZEROED (sizeof (ACPI_OBJECT_INFO)); + + if (!ObjectInfo) + return (AE_NO_MEMORY); /* Walk the namespace from the root */ |