From 23a2a2b05f76d9ae7642b69de255e153e3bae0d8 Mon Sep 17 00:00:00 2001 From: Al Stone Date: Thu, 15 Mar 2018 15:32:26 -0600 Subject: [PATCH] Corrected free-before-use error Signed-off-by: Al Stone --- str-trunc-warn.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/str-trunc-warn.patch b/str-trunc-warn.patch index badf721..fe89c4c 100644 --- a/str-trunc-warn.patch +++ b/str-trunc-warn.patch @@ -75,9 +75,9 @@ Index: acpica-unix2-20180209/source/compiler/aslpredef.c + PredefinedName, TypeName, PackageIndex, StringBuffer); + } + ++ AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, strp); + if (cnt > 0) + free(strp); -+ AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, strp); } - AslError (ASL_ERROR, ASL_MSG_RESERVED_OPERAND_TYPE, Op, MsgBuffer);