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

2014-12-24 Thread Kalle Valo
Alexey Khoroshilov khoroshi...@ispras.ru 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:

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

2014-12-12 Thread Alexey Khoroshilov
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 khoroshi...@ispras.ru ---