Source-Changes-HG archive

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

[src/netbsd-8]: src/usr.sbin/route6d Fix merge mishap in ticket #1820



details:   https://anonhg.NetBSD.org/src/rev/4a703938434a
branches:  netbsd-8
changeset: 376547:4a703938434a
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jun 21 20:35:46 2023 +0000

description:
Fix merge mishap in ticket #1820

diffstat:

 usr.sbin/route6d/route6d.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ff01cafb1601 -r 4a703938434a usr.sbin/route6d/route6d.c
--- a/usr.sbin/route6d/route6d.c        Wed Jun 21 20:15:53 2023 +0000
+++ b/usr.sbin/route6d/route6d.c        Wed Jun 21 20:35:46 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route6d.c,v 1.68.8.1 2023/04/01 16:46:33 martin Exp $  */
+/*     $NetBSD: route6d.c,v 1.68.8.2 2023/06/21 20:35:46 martin Exp $  */
 /*     $KAME: route6d.c,v 1.94 2002/10/26 20:08:55 itojun Exp $        */
 
 /*
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef        lint
-__RCSID("$NetBSD: route6d.c,v 1.68.8.1 2023/04/01 16:46:33 martin Exp $");
+__RCSID("$NetBSD: route6d.c,v 1.68.8.2 2023/06/21 20:35:46 martin Exp $");
 #endif
 
 #include <stdbool.h>
@@ -625,6 +625,7 @@ init(void)
        }
 #endif 
 
+       freeaddrinfo(res);
        memset(&hints, 0, sizeof(hints));
        hints.ai_family = PF_INET6;
        hints.ai_socktype = SOCK_DGRAM;



Home | Main Index | Thread Index | Old Index