commit | d6a6c916189e4ef0512a1620afc3c88a114e825d | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Wed May 07 21:30:23 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 24 01:43:52 2014 +0900 |
tree | 5c5309568c23354ef4b6622322df1254ed70ef9e | |
parent | 5b0a7eae9fc51a891c1b5f5cdaaf05d0c4876e16 [diff] |
staging: rtl8188eu: fix potential leak in rtw_wx_read32() Function rtw_wx_read32() 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 - CID 1077711. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>