1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Add forgotten free(9) in the previous commit for an error case.

This commit is contained in:
Jung-uk Kim 2011-01-10 21:01:41 +00:00
parent 6dfb79ef63
commit bd532602ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217240

View File

@ -115,6 +115,7 @@ AcpiOsInstallInterruptHandler(UINT32 InterruptNumber,
(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)