diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2014-12-13 00:43:55 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2014-12-24 17:26:08 +0200 |
commit | eae79b4f3e82ca63a53478a161b190a0d38fe526 (patch) | |
tree | 2883da0af086a51cddd82475a30bf5694b09cb2f /drivers/net/wireless/ath/dfs_pattern_detector.c | |
parent | 18e0c0bf3a5ea0f54384149570274d535341dc06 (diff) | |
download | linux-eae79b4f3e82ca63a53478a161b190a0d38fe526.tar.bz2 |
rsi: fix memory leak in rsi_load_ta_instructions()
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>
Diffstat (limited to 'drivers/net/wireless/ath/dfs_pattern_detector.c')
0 files changed, 0 insertions, 0 deletions