diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-05-27 15:40:29 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-01 19:36:34 (GMT) |
commit | 93cce6f0adff92238965eadb3c046db58552087b (patch) | |
tree | ed97ce9f17b883812aa77320fd6a4cd24cfa9360 /drivers/net/wireless/iwlwifi | |
parent | 2e5d04dad1934d97057cbecce59834f78dafc067 (diff) | |
download | linux-fsl-qoriq-93cce6f0adff92238965eadb3c046db58552087b.tar.xz |
iwlagn: free the ICT ISR when the request_irq failed
Fix a memory leak in case request_irq fails.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 291ceb5..76b3336 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -3615,8 +3615,8 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) destroy_workqueue(priv->workqueue); priv->workqueue = NULL; free_irq(priv->pci_dev->irq, priv); - iwl_free_isr_ict(priv); out_disable_msi: + iwl_free_isr_ict(priv); pci_disable_msi(priv->pci_dev); iwl_uninit_drv(priv); out_free_eeprom: |