diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-05-03 15:12:09 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-06-23 12:03:13 +0300 |
commit | 946af0079cd260546d3773e7ff5409f49949371d (patch) | |
tree | 6ef74a03e076cf5882f97236f3e3ee1e75eaef00 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
parent | 1dad3e0a313c42f8ade19f6987aedb857c4d07d0 (diff) | |
download | linux-946af0079cd260546d3773e7ff5409f49949371d.tar.gz linux-946af0079cd260546d3773e7ff5409f49949371d.tar.bz2 linux-946af0079cd260546d3773e7ff5409f49949371d.zip |
iwlwifi: mvm: fix nvm_data leak
We allocate nvm_data in iwl_mvm_nvm_get_from_fw(). If something goes
wrong after the allocation (i.e. if no valid MAC address is valid), we
should free nvm_data before returning an error.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions