aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>2002-12-20 11:21:07 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>2002-12-20 11:21:07 +0000
commit12e552d69fb5d174c2b7092ea72b5948b5f3e598 (patch)
tree099b87d717557c5066babff29472afc5f9a9ce7a
parent540e8b7e31b9b46170b039def427da4c6a910372 (diff)
Notes
-rw-r--r--sys/net/rtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index e7fad28cfa60..d8ec4895156f 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -429,10 +429,10 @@ route_output(m, so)
register struct ifaddr *oifa = rt->rt_ifa;
if (oifa != ifa) {
if (oifa) {
- IFAFREE(oifa);
if (oifa->ifa_rtrequest)
oifa->ifa_rtrequest(RTM_DELETE, rt,
&info);
+ IFAFREE(oifa);
}
IFAREF(ifa);
rt->rt_ifa = ifa;