From: kn Date: Tue, 22 Nov 2022 15:49:06 +0000 (+0000) Subject: Use local variable consistently X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f42926ca040c3d770fbeeea2ae75e61ff47f1ddd;p=openbsd Use local variable consistently All prior lines in this function already use it, do so on the last one. OK claudio --- diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index d52a7732207..6be941b997e 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.252 2022/11/22 14:51:01 kn Exp $ */ +/* $OpenBSD: in6.c,v 1.253 2022/11/22 15:49:06 kn Exp $ */ /* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */ /* @@ -959,7 +959,7 @@ in6_unlink_ifa(struct in6_ifaddr *ia6, struct ifnet *ifp) ifa_del(ifp, ifa); ia6->ia_ifp = NULL; - ifafree(&ia6->ia_ifa); + ifafree(ifa); } /*