From: Christian Engelmayer Date: Thu, 10 Apr 2014 18:37:53 +0000 (+0200) Subject: rsi: Fix a potential memory leak in rsi_send_auto_rate_request() X-Git-Tag: omap-for-v3.16/pm-signed~76^2~1^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61698b7e222c33e1d38996519b38dd34cbcb8634;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed