From patchwork Fri May 28 13:56:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Starikovskiy X-Patchwork-Id: 102894 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4SDurN6006748 for ; Fri, 28 May 2010 13:56:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756805Ab0E1N4w (ORCPT ); Fri, 28 May 2010 09:56:52 -0400 Received: from nat.nue.novell.com ([195.135.221.3]:35754 "EHLO nat.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757260Ab0E1N4v (ORCPT ); Fri, 28 May 2010 09:56:51 -0400 Received: from [127.0.1.1] ([149.44.162.75]) by nat.nue.novell.com with ESMTP; Fri, 28 May 2010 15:56:49 +0200 Subject: [PATCH 1/4] ACPICA: Fix leak in DeleteSemaphore To: Robert Moore From: Alexey Starikovskiy Cc: Linux-acpi@vger.kernel.org, devel@acpica.org Date: Fri, 28 May 2010 17:56:49 +0400 Message-ID: <20100528135648.26498.61828.stgit@thinkpad> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 28 May 2010 13:56:53 +0000 (UTC) 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); }