commit | e0e2c5cde57d4b0c3af2998c3a591f3db75ce7eb | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Wed May 07 21:34:37 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 24 01:43:53 2014 +0900 |
tree | 93f95921ac7581fec17ab6365b7daf15492bc543 | |
parent | c98acd000bc578f4a53c4879760d2d1ccdc794a9 [diff] |
staging: rtl8188eu: fix potential leak in rtw_mp_pwrtrk() Function rtw_mp_pwrtrk() dynamically allocates a temporary buffer that is not freed in all error paths. Use a centralized exit path and make sure that all memory is freed correctly. Detected by Coverity - 1077715. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>