[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1101162050532.13377@swampdragon.chaosbits.net>
Date: Sun, 16 Jan 2011 20:51:27 +0100 (CET)
From: Jesper Juhl <jj@...osbits.net>
To: "Rafael J. Wysocki" <rjw@...k.pl>
cc: Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, Lin Ming <ming.m.lin@...el.com>
Subject: Re: [PATCH] ACPI: Fix memory leak in
acpi_ev_asynch_execute_gpe_method().
On Sun, 16 Jan 2011, Rafael J. Wysocki wrote:
> On Sunday, January 16, 2011, Jesper Juhl wrote:
> > We will leak the memory allocated to 'local_gpe_event_info' if
> > 'acpi_ut_acquire_mutex()' fails or if 'acpi_ev_valid_gpe_event()' fails in
> > drivers/acpi/acpica/evgpe.c::acpi_ev_asynch_execute_gpe_method().
> >
> > Signed-off-by: Jesper Juhl <jj@...osbits.net>
>
> Good catch! How did you find it?
>
This one was found with the help of Coverity prevent.
> Reviewed-by: Rafael Wysocki <rjw@...k.pl>
>
> Len, please apply and push to Linus ASAP.
>
> Thanks,
> Rafael
>
--
Jesper Juhl <jj@...osbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists