[PATCH openEuler-1.0-LTS 04/13] ACPI: custom_method: fix a possible memory leak