Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 correct in6_ifdetach(). free oia, not ia.



details:   https://anonhg.NetBSD.org/src/rev/5962905bd15f
branches:  trunk
changeset: 485418:5962905bd15f
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Apr 27 15:39:05 2000 +0000

description:
correct in6_ifdetach().  free oia, not ia.
From: Lennart Augustsson <augustss%augustsson.net@localhost>

diffstat:

 sys/netinet6/in6_ifattach.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8025bdc4468a -r 5962905bd15f sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c       Thu Apr 27 15:26:44 2000 +0000
+++ b/sys/netinet6/in6_ifattach.c       Thu Apr 27 15:39:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6_ifattach.c,v 1.28 2000/04/16 15:28:00 itojun Exp $ */
+/*     $NetBSD: in6_ifattach.c,v 1.29 2000/04/27 15:39:05 itojun Exp $ */
 /*     $KAME: in6_ifattach.c,v 1.53 2000/04/16 14:01:42 itojun Exp $   */
 
 /*
@@ -844,7 +844,7 @@
 #endif
                }
 
-               free(ia, M_IFADDR);
+               free(oia, M_IFADDR);
        }
 
        /* cleanup multicast address kludge table, if there is any */



Home | Main Index | Thread Index | Old Index