From: Alexey Starikovskiy <astarikovskiy at suse.de>
To: devel@acpica.org
Subject: [Devel] [PATCH 1/4] ACPICA: Fix leak in DeleteSemaphore
Date: Fri, 28 May 2010 17:56:49 +0400 [thread overview]
Message-ID: <20100528135648.26498.61828.stgit@thinkpad> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
Really delete semaphore, so it does not show up as leak in memory debuggers.
Signed-off-by: Alexey Starikovskiy <astarikovskiy(a)suse.de>
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/source/os_specific/service_layers/osunixxf.c b/source/os_specific/service_layers/osunixxf.c
index b457745..e90e22a 100644
--- a/source/os_specific/service_layers/osunixxf.c
+++ b/source/os_specific/service_layers/osunixxf.c
@@ -575,6 +575,8 @@ AcpiOsDeleteSemaphore (
return (AE_BAD_PARAMETER);
}
+ AcpiOsFree (Sem);
+
return (AE_OK);
}
WARNING: multiple messages have this Message-ID (diff)
From: Alexey Starikovskiy <astarikovskiy@suse.de>
To: Robert Moore <robert.moore@intel.com>
Cc: Linux-acpi@vger.kernel.org, devel@acpica.org
Subject: [PATCH 1/4] ACPICA: Fix leak in DeleteSemaphore
Date: Fri, 28 May 2010 17:56:49 +0400 [thread overview]
Message-ID: <20100528135648.26498.61828.stgit@thinkpad> (raw)
Really delete semaphore, so it does not show up as leak in memory debuggers.
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/source/os_specific/service_layers/osunixxf.c b/source/os_specific/service_layers/osunixxf.c
index b457745..e90e22a 100644
--- a/source/os_specific/service_layers/osunixxf.c
+++ b/source/os_specific/service_layers/osunixxf.c
@@ -575,6 +575,8 @@ AcpiOsDeleteSemaphore (
return (AE_BAD_PARAMETER);
}
+ AcpiOsFree (Sem);
+
return (AE_OK);
}
next reply other threads:[~2010-05-28 13:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-28 13:56 Alexey Starikovskiy [this message]
2010-05-28 13:56 ` [PATCH 1/4] ACPICA: Fix leak in DeleteSemaphore Alexey Starikovskiy
-- strict thread matches above, loose matches on Subject: below --
2010-05-28 13:56 [Devel] [PATCH 2/4] ACPICA: Disable use of caches Alexey Starikovskiy
2010-05-28 13:56 ` Alexey Starikovskiy
2010-05-28 13:57 [Devel] [PATCH 3/4] ACPICA: Remove calls to cache code Alexey Starikovskiy
2010-05-28 13:57 ` Alexey Starikovskiy
2010-05-28 13:57 [Devel] [PATCH 4/4] ACPICA: Remove Extra object Alexey Starikovskiy
2010-05-28 13:57 ` Alexey Starikovskiy
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=20100528135648.26498.61828.stgit@thinkpad \
--to=devel@acpica.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.