diff options
author | Christian Engelmayer <cengelma@gmx.at> | 2016-08-09 21:19:57 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-09-03 19:52:25 +0300 |
commit | a0c7858e74793242733a09a3e34356f434bc1571 (patch) | |
tree | 13097641ad848ac49ff13a3aebdf384872befe38 /arch/arm | |
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>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions