Corrected free-before-use error
Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
c11325fc2c
commit
23a2a2b05f
@ -75,9 +75,9 @@ Index: acpica-unix2-20180209/source/compiler/aslpredef.c
|
|||||||
+ PredefinedName, TypeName, PackageIndex, StringBuffer);
|
+ PredefinedName, TypeName, PackageIndex, StringBuffer);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
+ AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, strp);
|
||||||
+ if (cnt > 0)
|
+ if (cnt > 0)
|
||||||
+ free(strp);
|
+ free(strp);
|
||||||
+ AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, strp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, MsgBuffer);
|
- AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, MsgBuffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user