artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba6a4d
)
Use local variable consistently
author
kn
<kn@openbsd.org>
Tue, 22 Nov 2022 15:49:06 +0000
(15:49 +0000)
committer
kn
<kn@openbsd.org>
Tue, 22 Nov 2022 15:49:06 +0000
(15:49 +0000)
All prior lines in this function already use it, do so on the last one.
OK claudio
sys/netinet6/in6.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/in6.c
b/sys/netinet6/in6.c
index
d52a773
..
6be941b
100644
(file)
--- a/
sys/netinet6/in6.c
+++ b/
sys/netinet6/in6.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: in6.c,v 1.25
2 2022/11/22 14:51:01
kn Exp $ */
+/* $OpenBSD: in6.c,v 1.25
3 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);
}
/*