On Saturday 28 July 2007 18:45, Jesper Juhl wrote:
> Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
> ---
> 
>  drivers/acpi/asus_acpi.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c
> index 9c4bd22..86fd142 100644
> --- a/drivers/acpi/asus_acpi.c
> +++ b/drivers/acpi/asus_acpi.c
> @@ -1192,6 +1192,7 @@ static int asus_hotk_get_info(void)
>                         break;
>                 default:
>                         kfree(model);
> +                       model = NULL;
>                         break;
>                 }
>         }

applied.

coverity didn't find the bug below this code however.
we can also leak model in the path that returns  OK.

thanks,
-Len
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Acpi4asus-user mailing list
Acpi4asus-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi4asus-user

Reply via email to