iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_ta...
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 14 Jul 2017 10:06:59 +0000 (12:06 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 5 Aug 2017 18:28:24 +0000 (21:28 +0300)
commitaae9d563230f974f2daa7135f911f021b2bba9e6
treea4f1a41b2d7388cba3d76b93cf0b5675d97bf16c
parent368bd88ebb64cabe4a1ec727659214bb8d693707
iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()'

We should free 'wgds.pointer' here as done a few lines above in another
error handling path.
It was allocated within 'acpi_evaluate_object()'.

Fixes: c52030a01ccc ("iwlwifi: mvm: add GEO_TX_POWER_LIMIT cmd for geographic tx power table")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c