diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-01 14:48:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-01 14:48:50 -0400 |
commit | f5f321c43150cb4db8f342c8479c6fbdbe20b338 (patch) | |
tree | d3c4dd21ed0153d3175a7b738ac50d4229761174 /drivers/net | |
parent | 877e45d60cdf134b4f152ec7d426def5d0ca4a94 (diff) | |
parent | 69628cd0652a091591ef44ac07c150063b789c4a (diff) | |
download | linux-f5f321c43150cb4db8f342c8479c6fbdbe20b338.tar.bz2 |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-drv.c | 1 |
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 996e7f16adf9..c7154ac42c8c 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: |