diff options
Diffstat (limited to 'sys/netatm/uni/uniip.c')
-rw-r--r-- | sys/netatm/uni/uniip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netatm/uni/uniip.c b/sys/netatm/uni/uniip.c index e9d11c67a2ff..60541669a592 100644 --- a/sys/netatm/uni/uniip.c +++ b/sys/netatm/uni/uniip.c @@ -261,10 +261,8 @@ uniip_ipdact(inp) */ UNLINK(uip, struct uniip, uniip_head, uip_next); if (uip->uip_prefix != NULL) - KM_FREE(uip->uip_prefix, - uip->uip_nprefix * sizeof(struct uniarp_prf), M_DEVBUF); + free(uip->uip_prefix, M_DEVBUF); atm_free((caddr_t)uip); - return (0); } |