]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/acpi/parser/psparse.c
ACPI: ACPICA 20060526
[mirror_ubuntu-artful-kernel.git] / drivers / acpi / parser / psparse.c
index 796f6b719929f16503b2e5dbe7f5eaf8eb0c4e9c..7ee2f2e7752515154e6c7bf2339af7bacc6c71ae 100644 (file)
@@ -464,6 +464,7 @@ acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state)
 
        thread = acpi_ut_create_thread_state();
        if (!thread) {
+               acpi_ds_delete_walk_state(walk_state);
                return_ACPI_STATUS(AE_NO_MEMORY);
        }