From 23a2a2b05f76d9ae7642b69de255e153e3bae0d8 Mon Sep 17 00:00:00 2001 From: Al Stone Date: Mar 15 2018 21:32:26 +0000 Subject: Corrected free-before-use error Signed-off-by: Al Stone --- 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);