diff options
-rw-r--r-- | sys/contrib/dev/acpica/components/parser/psargs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/dev/acpica/components/parser/psargs.c b/sys/contrib/dev/acpica/components/parser/psargs.c index f3f7015..e0a18f6 100644 --- a/sys/contrib/dev/acpica/components/parser/psargs.c +++ b/sys/contrib/dev/acpica/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); } |