Skip to content
Commit 946af007 authored by Luca Coelho's avatar Luca Coelho
Browse files

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: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 1dad3e0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment