diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2015-03-30 09:39:12 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-30 09:39:12 +0300 |
commit | 69628cd0652a091591ef44ac07c150063b789c4a (patch) | |
tree | 0a72ac469e9fa14919f052319127330adb22a64b /drivers | |
parent | 6ae4ccfee09efe5baa3951d1c1d27050a46a1469 (diff) | |
parent | a71aaf66725e8fc02253a3bbea15d27e656434fe (diff) | |
download | linux-69628cd0652a091591ef44ac07c150063b789c4a.tar.bz2 |
Merge tag 'iwlwifi-for-kalle-2015-03-30' of https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
* fix a memory leak: we leaked memory each time the module
was loaded.
Diffstat (limited to 'drivers')
-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: |