summaryrefslogtreecommitdiffstats
path: root/source/components
diff options
context:
space:
mode:
Diffstat (limited to 'source/components')
-rw-r--r--source/components/parser/psargs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/components/parser/psargs.c b/source/components/parser/psargs.c
index 68e4d5d..8140fdb 100644
--- a/source/components/parser/psargs.c
+++ b/source/components/parser/psargs.c
@@ -672,6 +672,7 @@ AcpiPsGetNextField (
Arg = AcpiPsAllocOp (AML_INT_BYTELIST_OP);
if (!Arg)
{
+ AcpiPsFreeOp (Field);
return_PTR (NULL);
}
@@ -717,6 +718,7 @@ AcpiPsGetNextField (
Arg = AcpiPsAllocOp (AML_INT_NAMEPATH_OP);
if (!Arg)
{
+ AcpiPsFreeOp (Field);
return_PTR (NULL);
}
OpenPOWER on IntegriCloud