summary refs log tree commit diff
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorPo-Hao Huang <phhuang@realtek.com>2021-06-24 10:34:59 +0800
committerKalle Valo <kvalo@codeaurora.org>2021-06-24 19:21:15 +0300
commit1d8820d5462dcdd34f3eb7ef4893536c439e476d (patch)
treece783bcea6592aa1c7402f351cbb45e85e8bbd87 /drivers/pcmcia
parent1a3ac5c651a0c859bdea64ed964fc93c2ba980d3 (diff)
downloadlinux-1d8820d5462dcdd34f3eb7ef4893536c439e476d.tar.gz
rtw88: fix c2h memory leak
Fix erroneous code that leads to unreferenced objects. During H2C
operations, some functions returned without freeing the memory that only
the function have access to. Release these objects when they're no longer
needed to avoid potentially memory leaks.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210624023459.10294-1-pkshih@realtek.com
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions