Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e6917317c0f6a930442c40dc38a6f21710adf961
Commit:     e6917317c0f6a930442c40dc38a6f21710adf961
Parent:     55f8f3cc4f7c47c7896e2ad08e29eccc292c0c68
Author:     Jesper Juhl <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 19 00:48:03 2007 +0200
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 20:46:20 2007 -0400

    ACPICA: fix memory leak in acpi_ev_pci_config_region_setup() error path
    
    acpi_ev_pci_config_region_setup() leaks pci_id
    in the error case of "if (!pci_device_node)"
    
    Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/events/evrgnini.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/events/evrgnini.c b/drivers/acpi/events/evrgnini.c
index 400d90f..23ee7bc 100644
--- a/drivers/acpi/events/evrgnini.c
+++ b/drivers/acpi/events/evrgnini.c
@@ -284,6 +284,7 @@ acpi_ev_pci_config_region_setup(acpi_handle handle,
        }
 
        if (!pci_device_node) {
+               ACPI_FREE(pci_id);
                return_ACPI_STATUS(AE_AML_OPERAND_TYPE);
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to