mwifiex: add a kfree() to an error path
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Sep 2011 07:13:29 +0000 (10:13 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Sep 2011 20:19:44 +0000 (16:19 -0400)
commitaef0ba54ecb961ae559106540f37ab734b64410d
treec843e86fccd74a5c50cf632a356e937590f09a36
parent5adcb81037558aa545676f78dea2b2ce6c3b5819
mwifiex: add a kfree() to an error path

We're not likely to hit this small memory leak, but lets fix it
anyway to keep the static checkers happy.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_ioctl.c