summaryrefslogtreecommitdiff
path: root/source/compiler/asltree.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-06-26 19:01:10 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-06-26 19:01:10 +0000
commit94c37fb2483cc09856a30e74879a69f2ccfe22f0 (patch)
tree274ff6113dbdc6cbbbf50dc30d0527fb9cb0fc55 /source/compiler/asltree.c
parentb7f987c19dad2c6d33c64e7f96a9b4deca9e2650 (diff)
Notes
Diffstat (limited to 'source/compiler/asltree.c')
-rw-r--r--source/compiler/asltree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/compiler/asltree.c b/source/compiler/asltree.c
index ca880716fbb4..c8d05e4bc3c4 100644
--- a/source/compiler/asltree.c
+++ b/source/compiler/asltree.c
@@ -823,6 +823,7 @@ TrLinkChildren (
{
AslError (ASL_WARNING, ASL_MSG_COMPILER_INTERNAL, Child,
"Child node list invalid");
+ va_end(ap);
return (Op);
}
@@ -869,8 +870,8 @@ TrLinkChildren (
}
PrevChild = Child;
}
- va_end(ap);
+ va_end(ap);
DbgPrint (ASL_PARSE_OUTPUT, "\n\n");
return (Op);
}