commit | a0c7858e74793242733a09a3e34356f434bc1571 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Tue Aug 09 21:19:57 2016 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Sat Sep 03 19:52:25 2016 +0300 |
tree | 13097641ad848ac49ff13a3aebdf384872befe38 | |
parent | 8af92af3f2d55db143417a5d401696f4b642009a [diff] |
rtlwifi: rtl8192de: Fix leak in _rtl92de_read_adapter_info() In case rtl_get_hwinfo() fails, 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>