Re: [PATCH] rsi: fix memory leak in rsi_load_ta_instructions()

From: Kalle Valo
Date: Wed Dec 24 2014 - 10:26:52 EST


Alexey Khoroshilov <khoroshilov@xxxxxxxxx> writes:

> Memory allocated by kmemdup() in rsi_load_ta_instructions() is leaked.
> But duplication of firmware data here is useless,
> so the patch removes kmemdup() at all.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>

Thanks, applied to wireless-drivers-next.git.

--
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/