diff options
Diffstat (limited to 'source/components/debugger/dbconvert.c')
| -rw-r--r-- | source/components/debugger/dbconvert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/components/debugger/dbconvert.c b/source/components/debugger/dbconvert.c index 6a41000036a5..32ad5be179a2 100644 --- a/source/components/debugger/dbconvert.c +++ b/source/components/debugger/dbconvert.c @@ -354,6 +354,8 @@ AcpiDbConvertToPackage ( Elements = ACPI_ALLOCATE_ZEROED ( DB_DEFAULT_PKG_ELEMENTS * sizeof (ACPI_OBJECT)); + if (!Elements) + return (AE_NO_MEMORY); This = String; for (i = 0; i < (DB_DEFAULT_PKG_ELEMENTS - 1); i++) |
