commit | 9fb7807ce7f21cbab2b13db0183f7f71a75add5e | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Tue Jan 05 09:35:21 2016 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Thu Jan 07 19:01:32 2016 +0200 |
tree | 1745d5804dc8d12e4f1967905714b5fadcc07d59 | |
parent | a80c7a696610c537fd6e61489be9da0a995fc880 [diff] |
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>