summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-03-08 00:18:37 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-03-08 00:18:37 +0000
commitc7dedfbe496e578e4c537ea761d008cfe1322837 (patch)
tree0b4d2d52b41e59913c70714d9852c05ed4096f4a
parent61f2f69102fd0b9ee97b5dd6b837a959cfc2546b (diff)
remove bogus rtfree. inspired by fix to PR 1706. sync with kame
-rw-r--r--sys/netinet6/icmp6.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 25b4d787cb5..0b16830d133 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: icmp6.c,v 1.33 2001/02/16 16:00:55 itojun Exp $ */
-/* $KAME: icmp6.c,v 1.201 2001/02/16 12:23:40 itojun Exp $ */
+/* $OpenBSD: icmp6.c,v 1.34 2001/03/08 00:18:36 itojun Exp $ */
+/* $KAME: icmp6.c,v 1.203 2001/03/08 00:17:54 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -2869,7 +2869,6 @@ icmp6_mtudisc_clone(dst)
RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt);
if (error) {
rtfree(rt);
- rtfree(nrt);
return NULL;
}
nrt->rt_rmx = rt->rt_rmx;