Messages in this thread Patch in this message | | | Date | Thu, 4 Dec 2003 18:14:06 +0200 (EET) | From | Mihai RUSU <> | Subject | Re: [RFC] enhanced psxface.c error handling |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I think you missed the order on this one
@@ -142,14 +143,15 @@ walk_state = acpi_ds_create_walk_state (obj_desc->method.owning_id, NULL, NULL, NULL); if (!walk_state) { - - return_ACPI_STATUS (AE_NO_MEMORY); + goto acpi_psx_parse_unref; + status = AE_NO_MEMORY; }
:)
On Thu, 4 Dec 2003, Felipe Alfaro Solana wrote:
> Hi! > > This patch tries to fix the situation where an error could cause > acpi_psx_execute() to exit without releasing held references to the > elements of param[]. > > Thanks! >
- -- Mihai RUSU Email: dizzy@roedu.net GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: http://dizzy.roedu.net "Linux is obsolete" -- AST -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/z11QPZzOzrZY/1QRAriPAJ9tJ9A+l1VVCkvxVp5xKcl29+vnBwCguemq B4+AFaGmaYPah7YgNObfbk4= =6Nay -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |