summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2001-03-07 20:57:21 +0000
committerbrian <brian@cvs.openbsd.org>2001-03-07 20:57:21 +0000
commit589be6e827d546dba70dab7907b702eacf9390da (patch)
tree344c7cf50cd6a9e99a473890950b8f5c61c32197 /sys
parentac93a998b857e7fbd537e751218523a9c158de1c (diff)
Remove a bogus rtfree(); PR 1706
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_icmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 6946c82df2c..cdea350447c 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_icmp.c,v 1.31 2000/12/11 19:12:22 provos Exp $ */
+/* $OpenBSD: ip_icmp.c,v 1.32 2001/03/07 20:57:20 brian Exp $ */
/* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */
/*
@@ -768,7 +768,6 @@ icmp_mtudisc_clone(struct sockaddr *dst)
RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt);
if (error) {
rtfree(rt);
- rtfree(nrt);
return (NULL);
}
nrt->rt_rmx = rt->rt_rmx;