diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-01-05 10:35:21 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-01-07 20:01:32 +0300 |
commit | 9fb7807ce7f21cbab2b13db0183f7f71a75add5e (patch) | |
tree | 1745d5804dc8d12e4f1967905714b5fadcc07d59 /drivers/net/dsa | |
parent | a80c7a696610c537fd6e61489be9da0a995fc880 (diff) | |
download | linux-9fb7807ce7f21cbab2b13db0183f7f71a75add5e.tar.xz |
iwlwifi: mvm: fix memory leaks in error paths upon fw error dump
When iwl_mvm_fw_error_dump fails, it needs to clear the
state in mvm, which includes:
* clear IWL_MVM_STATUS_DUMPING_FW_LOG
* set mvm->fw_dump_trig to NULL
* free the description
While at it, remove a NULL check in
iwl_mvm_free_fw_dump_desc since kfree is NULL safe.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions