Searched hist:"4 c3e48794dec7cb568974ba3bf2ab62b9c45ca3e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | debug.c | diff 4c3e48794dec7cb568974ba3bf2ab62b9c45ca3e Wed Sep 04 09:16:11 CDT 2019 Wei Yongjun <weiyongjun1@huawei.com> rtlwifi: Fix file release memory leak
When using single_open() for opening, single_release() should be used instead of seq_release(), otherwise there is a memory leak.
This is detected by Coccinelle semantic patch.
Fixes: 610247f46feb ("rtlwifi: Improve debugging by using debugfs") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
|