mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 22:09:17 +03:00
Comment update
date 2004.10.13.20.54.00; author rmoore1; state Exp;
This commit is contained in:
parent
3957199e20
commit
3333c6bcd5
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: utobject - ACPI object create/delete/size/cache routines
|
||||
* $Revision: 1.88 $
|
||||
* $Revision: 1.89 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -287,7 +287,7 @@ AcpiUtCreateStringObject (
|
||||
ACPI_SIZE StringSize)
|
||||
{
|
||||
ACPI_OPERAND_OBJECT *StringDesc;
|
||||
char *String = NULL;
|
||||
char *String;
|
||||
|
||||
|
||||
ACPI_FUNCTION_TRACE_U32 ("UtCreateStringObject", StringSize);
|
||||
@ -301,8 +301,10 @@ AcpiUtCreateStringObject (
|
||||
return_PTR (NULL);
|
||||
}
|
||||
|
||||
/* Allocate the actual string buffer -- (Size + 1) for NULL terminator */
|
||||
|
||||
/*
|
||||
* Allocate the actual string buffer -- (Size + 1) for NULL terminator.
|
||||
* NOTE: Zero-length strings are NULL terminated
|
||||
*/
|
||||
String = ACPI_MEM_CALLOCATE (StringSize + 1);
|
||||
if (!String)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user