commit | 3dad0d1e40285fb8a5c6b878c5ac5eb556f9dd9e | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Wed May 07 21:32:30 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 24 01:43:52 2014 +0900 |
tree | 961385df5002e88345ad8028da4f894e31ca2d4d | |
parent | 5d57f1e8f6699653f2e5b7c9dfad6b0dd0c8dcd3 [diff] |
staging: rtl8188eu: fix potential leak in rtw_mp_QueryDrv() Function rtw_mp_QueryDrv() 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 1077713. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>