Module Name: src
Committed By: martin
Date: Wed Jun 21 20:35:46 UTC 2023
Modified Files:
src/usr.sbin/route6d [netbsd-8]: route6d.c
Log Message:
Fix merge mishap in ticket #1820
To generate a diff of this commit:
cvs rdiff -u -r1.68.8.1 -r1.68.8.2 src/usr.sbin/route6d/route6d.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/route6d/route6d.c
diff -u src/usr.sbin/route6d/route6d.c:1.68.8.1 src/usr.sbin/route6d/route6d.c:1.68.8.2
--- src/usr.sbin/route6d/route6d.c:1.68.8.1 Sat Apr 1 16:46:33 2023
+++ src/usr.sbin/route6d/route6d.c Wed Jun 21 20:35:46 2023
@@ -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;