On Friday 22 October 2010 07:19:47 Lin Ming wrote:
> diff --git a/source/components/resources/rsxface.c
> b/source/components/resources/rsxface.c index 2a019d1..17b88e2 100644
> --- a/source/components/resources/rsxface.c
> +++ b/source/components/resources/rsxface.c
> @@ -394,6 +394,7 @@ AcpiSetCurrentResources (
>  {
>      ACPI_STATUS             Status;
>      ACPI_NAMESPACE_NODE     *Node;
> +    ACPI_RESOURCE           *Res;
>  
>  
>      ACPI_FUNCTION_TRACE (AcpiSetCurrentResources);
> @@ -416,6 +417,15 @@ AcpiSetCurrentResources (
>          return_ACPI_STATUS (Status);
>      }
>  
> +    Res = (ACPI_RESOURCE *) InBuffer->Pointer;
> +    if (Res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ)
> +    {
> +        /* DEBUG: clear the string to see if it's the root cause */
> +
> +        Res->Data.ExtendedIrq.ResourceSource.StringPtr = NULL;
> +        Res->Data.ExtendedIrq.ResourceSource.StringLength = 0;
> +    }
> +
>      Status = AcpiRsSetSrsMethodData (Node, InBuffer);
>      return_ACPI_STATUS (Status);
>  }

Hi,

After applying this patch I can confirm there are no more dirty free's.

--HPS
_______________________________________________
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"

Reply via email to