]>
Commit | Line | Data |
---|---|---|
77760c90 JB |
1 | This prevents a segfault when an Include file does not exist. |
2 | ||
3 | Index: acpica-unix2-20161222/source/compiler/aslfiles.c | |
4 | =================================================================== | |
5 | --- acpica-unix2-20161222.orig/source/compiler/aslfiles.c | |
6 | +++ acpica-unix2-20161222/source/compiler/aslfiles.c | |
7 | @@ -319,7 +319,7 @@ FlOpenIncludeWithPrefix ( | |
8 | if (!IncludeFile) | |
9 | { | |
10 | fprintf (stderr, "Could not open include file %s\n", Pathname); | |
11 | - ACPI_FREE (Pathname); | |
12 | + /* ACPI_FREE (Pathname); <-- forces free() segfault */ | |
13 | return (NULL); | |
14 | } | |
15 |