iwlwifi: mvm: fix possible memory leak
authorEytan Lifshitz <eytan.lifshitz@intel.com>
Tue, 18 Feb 2014 13:02:29 +0000 (15:02 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Feb 2014 17:18:04 +0000 (19:18 +0200)
commit1270c416e1ba726b4a1d15167babfe5f2c0b59e6
tree42b51ddf5b33beb48856e1a2c7cee12a9d61ab91
parentffa702647c0ed534be042542d492f4ed94d178f8
iwlwifi: mvm: fix possible memory leak

iwl_parse_nvm_data() doesn't free allocated memory if it is
fed with invalid parameter. Fix this.

Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c