Revert "ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails"
This reverts commit b9871abdf1
.
This commit is contained in:
parent
ae2bfda1c1
commit
33bc235af8
1 changed files with 0 additions and 8 deletions
|
@ -820,10 +820,6 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
|
|||
acpi_ps_get_next_namepath(walk_state, parser_state,
|
||||
arg,
|
||||
ACPI_NOT_METHOD_CALL);
|
||||
if (ACPI_FAILURE(status)) {
|
||||
acpi_ps_free_op(arg);
|
||||
return_ACPI_STATUS(status);
|
||||
}
|
||||
} else {
|
||||
/* Single complex argument, nothing returned */
|
||||
|
||||
|
@ -858,10 +854,6 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
|
|||
acpi_ps_get_next_namepath(walk_state, parser_state,
|
||||
arg,
|
||||
ACPI_POSSIBLE_METHOD_CALL);
|
||||
if (ACPI_FAILURE(status)) {
|
||||
acpi_ps_free_op(arg);
|
||||
return_ACPI_STATUS(status);
|
||||
}
|
||||
|
||||
if (arg->common.aml_opcode == AML_INT_METHODCALL_OP) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue