summaryrefslogtreecommitdiff
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:44:44 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:44:44 +0000
commit48b6cac396e42c57b5037f5a67d6cd7afb1733d6 (patch)
tree29d721c60c102e5fb6ed78e8ad45bbda321c951f /sys/net/radix.c
parenta29a93ecbd0d69878182d5959b330ae5badcadc7 (diff)
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r--sys/net/radix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 76da7383fe9..c9108ab0948 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radix.c,v 1.41 2014/07/01 09:58:40 mpi Exp $ */
+/* $OpenBSD: radix.c,v 1.42 2014/07/12 18:44:22 tedu Exp $ */
/* $NetBSD: radix.c,v 1.20 2003/08/07 16:32:56 agc Exp $ */
/*
@@ -441,7 +441,7 @@ rn_addmask(void *n_arg, int search, int skip)
tm = rn_insert(cp, mask_rnhead, &maskduplicated, tm);
if (maskduplicated) {
log(LOG_ERR, "rn_addmask: mask impossibly already in tree\n");
- free(saved_tm, M_RTABLE);
+ free(saved_tm, M_RTABLE, 0);
return (tm);
}
/*