summaryrefslogtreecommitdiff
path: root/source/components/parser/psargs.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2018-03-14 19:17:38 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2018-03-14 19:17:38 +0000
commite44d3d8ceb12ae786d331468fe4acf41a4af5424 (patch)
treea0c9c4018920a4690d41c0de4de76527c5f4f090 /source/components/parser/psargs.c
parent04f27355c01cb894338c3382792c0c2b75c86239 (diff)
Notes
Diffstat (limited to 'source/components/parser/psargs.c')
-rw-r--r--source/components/parser/psargs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/components/parser/psargs.c b/source/components/parser/psargs.c
index c9c173717e38..fba20f08e5a8 100644
--- a/source/components/parser/psargs.c
+++ b/source/components/parser/psargs.c
@@ -1051,6 +1051,9 @@ AcpiPsGetNextArg (
if (Arg->Common.AmlOpcode == AML_INT_METHODCALL_OP)
{
+ /* Free method call op and corresponding namestring sub-ob */
+
+ AcpiPsFreeOp (Arg->Common.Value.Arg);
AcpiPsFreeOp (Arg);
Arg = NULL;
WalkState->ArgCount = 1;