diff options
Diffstat (limited to 'source/compiler/dtfield.c')
-rw-r--r-- | source/compiler/dtfield.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c index 697b277..a5642a1 100644 --- a/source/compiler/dtfield.c +++ b/source/compiler/dtfield.c @@ -467,12 +467,13 @@ DtCompileBuffer ( if (ACPI_FAILURE (Status)) { DtError (ASL_ERROR, ASL_MSG_BUFFER_ELEMENT, Field, MsgBuffer); - return (ByteLength - Count); + goto Exit; } Buffer[i] = (UINT8) Value; } +Exit: ACPI_FREE (StringValue); return (ByteLength - Count); } |