rsi: fix memory leak in rsi_load_ta_instructions()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 12 Dec 2014 21:43:55 +0000 (00:43 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Dec 2014 15:26:08 +0000 (17:26 +0200)
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@ispras.ru>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

No differences found