In the Linux kernel, the following vulnerability has been resolved: driver core: location: Free struct acpipldinfo *pld before return false struct acpipldinfo *pld should be freed before the return of allocation failure, to prevent memory leak, add the ACPI_FREE() to fix it.