iwlwifi: mvm: Free fw_status after use to avoid memory leak
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 20 May 2015 05:10:43 +0000 (08:10 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 21 May 2015 19:26:59 +0000 (22:26 +0300)
commit2fc863a5143d64b8f06576cc3d7fd5622c5cf3b5
treea34709c3bb501890073d9ea0f1e51470bdf8575f
parentba830b3d093580f424fd31b7cd693046a86cf030
iwlwifi: mvm: Free fw_status after use to avoid memory leak

fw_status is the only pointer pointing to a block of memory
allocated above and should be freed after use.
Note: this come from Klockwork static analyzer.

Cc: stable@vger.kernel.org [3.19+]
Fixes: 2021a89d7b8a ("iwlwifi: mvm: treat netdetect wake up separately")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c