Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 489f4458 authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville
Browse files

[PATCH] ipw2200: Fix a variable referenced after kfree() bug

parent 17ed081d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11124,8 +11124,8 @@ static void ipw_pci_remove(struct pci_dev *pdev)
	/* Free MAC hash list for ADHOC */
	for (i = 0; i < IPW_IBSS_MAC_HASH_SIZE; i++) {
		list_for_each_safe(p, q, &priv->ibss_mac_hash[i]) {
			kfree(list_entry(p, struct ipw_ibss_seq, list));
			list_del(p);
			kfree(list_entry(p, struct ipw_ibss_seq, list));
		}
	}