diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2015-03-30 08:39:12 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-30 08:39:12 +0200 |
commit | 69628cd0652a091591ef44ac07c150063b789c4a (patch) | |
tree | 0a72ac469e9fa14919f052319127330adb22a64b /drivers/net | |
parent | Merge tag 'iwlwifi-for-kalle-2014-03-22' of https://git.kernel.org/pub/scm/li... (diff) | |
parent | iwlwifi: Fix memory leak in iwl_req_fw_callback() (diff) | |
download | linux-69628cd0652a091591ef44ac07c150063b789c4a.tar.xz linux-69628cd0652a091591ef44ac07c150063b789c4a.zip |
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/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: |