From: Lv Zheng <lv.zheng@intel.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Robert Moore <robert.moore@intel.com>,
Len Brown <len.brown@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>, linux-acpi@vger.kernel.org
Subject: [PATCH 09/20] ACPICA: Fix possible memory leaks in the GPE handling.
Date: Tue, 29 Oct 2013 09:29:40 +0800 [thread overview]
Message-ID: <4f3b9ac3b44792b11edbd54c36ce80e58fe88e02.1383009405.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1383009405.git.lv.zheng@intel.com>
This change fixes potential memory leaks in the error paths of the GPE
handling code. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
drivers/acpi/acpica/evgpe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c
index c8a1f7d..1979a25 100644
--- a/drivers/acpi/acpica/evgpe.c
+++ b/drivers/acpi/acpica/evgpe.c
@@ -522,6 +522,7 @@ static void ACPI_SYSTEM_XFACE acpi_ev_asynch_execute_gpe_method(void *context)
status = acpi_ut_release_mutex(ACPI_MTX_EVENTS);
if (ACPI_FAILURE(status)) {
+ ACPI_FREE(local_gpe_event_info);
return_VOID;
}
--
1.7.10
next prev parent reply other threads:[~2013-10-29 1:29 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-29 1:28 [PATCH 00/20] ACPICA: 20130927 Release Lv Zheng
2013-10-29 1:28 ` [PATCH 01/20] ACPICA: Ensure that debug output is immediately disabled on termination Lv Zheng
2013-10-29 1:28 ` [PATCH 02/20] ACPICA: Table print header function: Increase default width for table length Lv Zheng
2013-10-29 1:29 ` [PATCH 03/20] ACPICA: Add a check for a null node during namespace walk Lv Zheng
2013-10-29 1:29 ` [PATCH 04/20] ACPICA: Add history/line-editing for Unix/Linux systems Lv Zheng
2013-10-29 1:29 ` [PATCH 05/20] ACPICA: Fix a macro for the hardware-reduced case Lv Zheng
2013-10-29 1:29 ` [PATCH 06/20] ACPICA: Add safe versions of common string functions Lv Zheng
2013-10-29 1:29 ` [PATCH 07/20] ACPICA: Cleanup memory allocation macros and configurability Lv Zheng
2013-10-29 1:29 ` [PATCH 08/20] ACPICA: Predefine name macros: Sort list Lv Zheng
2013-10-29 1:29 ` Lv Zheng [this message]
2013-10-29 1:29 ` [PATCH 10/20] ACPICA: Hardcode access width for the reset register Lv Zheng
2013-10-29 1:29 ` [PATCH 11/20] ACPICA: Add EXPORT_ACPI_INTERFACES macro to external interface modules Lv Zheng
2013-10-29 1:29 ` [PATCH 12/20] ACPICA: Update comment: no functional change Lv Zheng
2013-10-29 1:30 ` [PATCH 13/20] ACPICA: Linuxize: Change indentation of C labels Lv Zheng
2013-10-29 1:30 ` [PATCH 14/20] ACPICA: Deploy ACPI_EXPORT_SYMBOL_INIT for main ACPICA initialization interfaces Lv Zheng
2013-10-29 1:30 ` [PATCH 15/20] ACPICA: Prevent possible build issues for use of ACPI_PRINTF_LIKE macro Lv Zheng
2013-10-29 1:30 ` [PATCH 16/20] ACPICA: AcpiSrc: Fix indentation issues for macro invocations Lv Zheng
2013-10-29 1:30 ` [PATCH 17/20] ACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro Lv Zheng
2013-10-29 1:30 ` [PATCH 18/20] ACPICA: Add support to allow host to redefine individual OSL prototypes Lv Zheng
2013-10-29 1:30 ` [PATCH 19/20] ACPICA: Update aclinux.h for new OSL override mechanism Lv Zheng
2013-10-29 1:30 ` [PATCH 20/20] ACPICA: Update version to 20130927 Lv Zheng
2013-10-31 1:29 ` [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA Lv Zheng
2013-10-31 1:29 ` [PATCH 01/15] ACPICA: Update default space handlers Lv Zheng
2013-10-31 1:30 ` [PATCH 02/15] ACPICA: Update ANOBJ_IS_EXTERNAL flag Lv Zheng
2013-10-31 1:30 ` [PATCH 03/15] ACPICA: Update namespace dump code Lv Zheng
2013-10-31 1:30 ` [PATCH 04/15] ACPICA: Update RSDP table definitions Lv Zheng
2013-10-31 1:30 ` [PATCH 05/15] ACPICA: Update DMAR " Lv Zheng
2013-10-31 1:30 ` [PATCH 06/15] ACPICA: Add new statistics interface Lv Zheng
2013-10-31 1:30 ` [PATCH 07/15] ACPICA: Fix wrong object length returned by acpi_ut_get_simple_object_size() Lv Zheng
2013-10-31 1:30 ` [PATCH 08/15] ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal Lv Zheng
2013-10-31 1:30 ` [PATCH 09/15] ACPICA: Cleanup useless memset invocations Lv Zheng
2013-10-31 1:30 ` [PATCH 10/15] ACPICA: Remove dead AOPOBJ_INVALID check Lv Zheng
2013-10-31 1:31 ` [PATCH 11/15] ACPICA: Fix cached object deletion code Lv Zheng
2013-10-31 1:31 ` [PATCH 12/15] ACPICA: Update compilation environment settings Lv Zheng
2013-10-31 1:31 ` [PATCH 13/15] ACPICA: Update acpidump related header file changes Lv Zheng
2013-10-31 1:31 ` [PATCH 14/15] ACPICA: Cleanup asmlinkage for ACPICA APIs Lv Zheng
2013-10-31 1:31 ` [PATCH 15/15] ACPICA: Add __init for ACPICA initializers/finalizers Lv Zheng
2013-10-31 13:54 ` [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA Rafael J. Wysocki
2013-11-01 0:39 ` Zheng, Lv
2013-10-31 13:53 ` [PATCH 00/20] ACPICA: 20130927 Release Rafael J. Wysocki
2013-11-01 0:39 ` Zheng, Lv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f3b9ac3b44792b11edbd54c36ce80e58fe88e02.1383009405.git.lv.zheng@intel.com \
--to=lv.zheng@intel.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=robert.moore@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).