commit | eb9affaeff701ce90fcf476ff5332624f9d0ddd2 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Sep 04 14:16:01 2019 +0000 |
committer | Kalle Valo <kvalo@codeaurora.org> | Fri Sep 06 17:10:33 2019 +0300 |
tree | bc3eb7880fc10041d738d9954a70060eb2d7e00a | |
parent | 64827a6ac04993c42aae7c3fed4c3b74c14da693 [diff] |
rtw88: fix seq_file memory leak When using single_open(), single_release() should be used instead of seq_release(), otherwise there is a memory leak. This is detected by Coccinelle semantic patch. Fixes: e3037485c68e ("rtw88: new Realtek 802.11ac driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>