commit | 3eeacaa902a31bdf06bc53f23087dcb1c5f260d6 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Tue Aug 09 21:54:12 2016 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Sat Sep 03 19:53:45 2016 +0300 |
tree | b2ead69625bb26278499cb3643a25f18eea04998 | |
parent | a0c7858e74793242733a09a3e34356f434bc1571 [diff] |
rtlwifi: rtl8723ae: Fix leak in _rtl8723e_read_adapter_info() In case of (rtlhal->oem_id != RT_CID_DEFAULT), the function directly returns and leaks the already allocated hwinfo memory. Go through the correct exit path. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>