8c2ae8
This prevents a segfault when an Include file does not exist.
8c2ae8
8c2ae8
Index: acpica-unix2-20170929/source/compiler/aslfiles.c
8c2ae8
===================================================================
8c2ae8
--- acpica-unix2-20170929.orig/source/compiler/aslfiles.c
8c2ae8
+++ acpica-unix2-20170929/source/compiler/aslfiles.c
8c2ae8
@@ -318,7 +318,7 @@ FlOpenIncludeWithPrefix (
8c2ae8
     if (!IncludeFile)
8c2ae8
     {
8c2ae8
         fprintf (stderr, "Could not open include file %s\n", Pathname);
8c2ae8
-        ACPI_FREE (Pathname);
8c2ae8
+        /* ACPI_FREE (Pathname); <-- forces free() segfault */
8c2ae8
         return (NULL);
8c2ae8
     }
8c2ae8