AcpiPatcher: fix possible memory leak