commit | 61698b7e222c33e1d38996519b38dd34cbcb8634 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Thu Apr 10 20:37:53 2014 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 14 14:31:42 2014 -0400 |
tree | e98744016396a3cefa2e87d7719cf33d5659b23d | |
parent | 2004dabaac4104e9aa067e3fe9326d3958b27ca1 [diff] |
rsi: Fix a potential memory leak in rsi_send_auto_rate_request() Fix a potential memory leak in the error path of function rsi_send_auto_rate_request(). In case memory allocation for array 'selected_rates' fails, the error path exits and leaves the previously allocated skb in place. Detected by Coverity: CID 1195575. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Signed-off-by: John W. Linville <linville@tuxdriver.com>