|
@@ -448,7 +448,7 @@ static int p80211knetdev_hard_start_xmit(struct sk_buff *skb,
|
|
|
failed:
|
|
|
/* Free up the WEP buffer if it's not the same as the skb */
|
|
|
if ((p80211_wep.data) && (p80211_wep.data != skb->data))
|
|
|
- kfree(p80211_wep.data);
|
|
|
+ kzfree(p80211_wep.data);
|
|
|
|
|
|
/* we always free the skb here, never in a lower level. */
|
|
|
if (!result)
|