[rt2x00-users] [PATCH] rt2x00: Don't leak mem in error path of rt2x00lib_request_firmware()

Pekka Enberg penberg at kernel.org
Wed Jan 12 04:33:13 EST 2011


On Tue, Jan 11, 2011 at 7:30 PM, Ivo Van Doorn <ivdoorn at gmail.com> wrote:
> Hi,
>
>> We need to release_firmware() in order not to leak memory.
>>
>> Signed-off-by: Jesper Juhl <jj at chaosbits.net>
>
> I can assume that release_firmware() checks if 'fw' is null?

Yes, it does.

> If so:
>
> Acked-by: Ivo van Doorn <IvDoorn at gmail.com>

Acked-by: Pekka Enberg <penberg at kernel.org>



More information about the users mailing list