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