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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to