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