diff options
author | brian <brian@cvs.openbsd.org> | 2001-03-07 20:57:21 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 2001-03-07 20:57:21 +0000 |
commit | 589be6e827d546dba70dab7907b702eacf9390da (patch) | |
tree | 344c7cf50cd6a9e99a473890950b8f5c61c32197 /sys | |
parent | ac93a998b857e7fbd537e751218523a9c158de1c (diff) |
Remove a bogus rtfree(); PR 1706
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_icmp.c | 3 |
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; |