remove bogus rtfree. sync with kame. inspired by openbsd PR 1706.
This commit is contained in:
parent
5a30bafe14
commit
912f42ecda
|
@ -1,5 +1,5 @@
|
|||
/* $NetBSD: icmp6.c,v 1.59 2001/03/01 16:31:40 itojun Exp $ */
|
||||
/* $KAME: icmp6.c,v 1.202 2001/03/01 16:15:52 itojun Exp $ */
|
||||
/* $NetBSD: icmp6.c,v 1.60 2001/03/08 00:19:03 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.
|
||||
|
@ -2833,7 +2833,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;
|
||||
|
|
Loading…
Reference in New Issue