From owner-svn-src-all@FreeBSD.ORG Mon Jan 10 21:01:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EEDE106566B; Mon, 10 Jan 2011 21:01:41 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3458FC15; Mon, 10 Jan 2011 21:01:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0AL1fja093422; Mon, 10 Jan 2011 21:01:41 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0AL1fw9093420; Mon, 10 Jan 2011 21:01:41 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201101102101.p0AL1fw9093420@svn.freebsd.org> From: Jung-uk Kim Date: Mon, 10 Jan 2011 21:01:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217240 - head/sys/dev/acpica/Osd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2011 21:01:41 -0000 Author: jkim Date: Mon Jan 10 21:01:41 2011 New Revision: 217240 URL: http://svn.freebsd.org/changeset/base/217240 Log: Add forgotten free(9) in the previous commit for an error case. Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c ============================================================================== --- head/sys/dev/acpica/Osd/OsdInterrupt.c Mon Jan 10 20:59:19 2011 (r217239) +++ head/sys/dev/acpica/Osd/OsdInterrupt.c Mon Jan 10 21:01:41 2011 (r217240) @@ -115,6 +115,7 @@ AcpiOsInstallInterruptHandler(UINT32 Int (InterruptNumber == InterruptOverride && InterruptNumber != AcpiGbl_FADT.SciInterrupt)) { mtx_unlock(&acpi_intr_lock); + free(ai, M_ACPIINTR); return_ACPI_STATUS (AE_ALREADY_EXISTS); } if (ai->ai_rid <= ap->ai_rid)