summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-04-01 14:48:50 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-01 14:48:50 -0400
commitf5f321c43150cb4db8f342c8479c6fbdbe20b338 (patch)
treed3c4dd21ed0153d3175a7b738ac50d4229761174
parent877e45d60cdf134b4f152ec7d426def5d0ca4a94 (diff)
parent69628cd0652a091591ef44ac07c150063b789c4a (diff)
downloadop-kernel-dev-f5f321c43150cb4db8f342c8479c6fbdbe20b338.zip
op-kernel-dev-f5f321c43150cb4db8f342c8479c6fbdbe20b338.tar.gz
Merge tag 'wireless-drivers-for-davem-2015-04-01' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
Kalle Valo says: ==================== iwlwifi: * fix a memory leak, we leaked memory each time the module was loaded. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.c b/drivers/net/wireless/iwlwifi/iwl-drv.c
index 996e7f1..c7154ac 100644
--- a/drivers/net/wireless/iwlwifi/iwl-drv.c
+++ b/drivers/net/wireless/iwlwifi/iwl-drv.c
@@ -1257,6 +1257,7 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
op->name, err);
#endif
}
+ kfree(pieces);
return;
try_again:
OpenPOWER on IntegriCloud