Browse Source

Merge tag 'wireless-drivers-for-davem-2015-04-01' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers

Kalle Valo says:

====================
iwlwifi:

* fix a memory leak, we leaked memory each time the module
  was loaded.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 10 năm trước cách đây
mục cha
commit
f5f321c431
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/net/wireless/iwlwifi/iwl-drv.c

+ 1 - 0
drivers/net/wireless/iwlwifi/iwl-drv.c

@@ -1257,6 +1257,7 @@ static void iwl_req_fw_callback(const struct firmware *ucode_raw, void *context)
 				op->name, err);
 #endif
 	}
+	kfree(pieces);
 	return;
 
  try_again: