commit | c98acd000bc578f4a53c4879760d2d1ccdc794a9 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Wed May 07 21:33:20 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 24 01:43:52 2014 +0900 |
tree | 950d4f567f9838bb110ea96fa29ae98fd103babf | |
parent | 3dad0d1e40285fb8a5c6b878c5ac5eb556f9dd9e [diff] |
staging: rtl8188eu: fix potential leak in rtw_mp_SetRFPath() Function rtw_mp_SetRFPath() 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 1077714. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>