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