diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-06-26 19:01:10 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-06-26 19:01:10 +0000 |
commit | 94c37fb2483cc09856a30e74879a69f2ccfe22f0 (patch) | |
tree | 274ff6113dbdc6cbbbf50dc30d0527fb9cb0fc55 /source/compiler/dtfield.c | |
parent | b7f987c19dad2c6d33c64e7f96a9b4deca9e2650 (diff) |
Notes
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 697b277172a5..a5642a114890 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); } |