Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 21:01:41 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217240 - head/sys/dev/acpica/Osd
Message-ID:  <201101102101.p0AL1fw9093420@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101102101.p0AL1fw9093420>