diff options
author | sam <sam@FreeBSD.org> | 2008-12-18 23:00:09 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-18 23:00:09 +0000 |
commit | 7aaeeb07043adcd94c535d5c394f69f9c560c4ad (patch) | |
tree | b42405564087361d41f618b7f4c6bab0f5f3fd52 /sys/net80211/ieee80211_crypto_tkip.c | |
parent | b3c73dcac3e506d7568bd9ad1458369b01018e33 (diff) | |
download | FreeBSD-src-7aaeeb07043adcd94c535d5c394f69f9c560c4ad.zip FreeBSD-src-7aaeeb07043adcd94c535d5c394f69f9c560c4ad.tar.gz |
convert MALLOC/FREE to malloc/free
Diffstat (limited to 'sys/net80211/ieee80211_crypto_tkip.c')
-rw-r--r-- | sys/net80211/ieee80211_crypto_tkip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_crypto_tkip.c b/sys/net80211/ieee80211_crypto_tkip.c index f509856..b20946a 100644 --- a/sys/net80211/ieee80211_crypto_tkip.c +++ b/sys/net80211/ieee80211_crypto_tkip.c @@ -109,7 +109,7 @@ tkip_attach(struct ieee80211vap *vap, struct ieee80211_key *k) { struct tkip_ctx *ctx; - MALLOC(ctx, struct tkip_ctx *, sizeof(struct tkip_ctx), + ctx = (struct tkip_ctx *) malloc(sizeof(struct tkip_ctx), M_80211_CRYPTO, M_NOWAIT | M_ZERO); if (ctx == NULL) { vap->iv_stats.is_crypto_nomem++; @@ -126,7 +126,7 @@ tkip_detach(struct ieee80211_key *k) { struct tkip_ctx *ctx = k->wk_private; - FREE(ctx, M_80211_CRYPTO); + free(ctx, M_80211_CRYPTO); KASSERT(nrefs > 0, ("imbalanced attach/detach")); nrefs--; /* NB: we assume caller locking */ } |