Module Name:    src
Committed By:   christos
Date:           Wed Mar 11 15:57:13 UTC 2015

Modified Files:
        src/usr.sbin/rpcbind: util.c

Log Message:
CID 1018907: Freeifaddrs


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/rpcbind/util.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/rpcbind/util.c
diff -u src/usr.sbin/rpcbind/util.c:1.17 src/usr.sbin/rpcbind/util.c:1.18
--- src/usr.sbin/rpcbind/util.c:1.17	Sat Oct 19 13:16:25 2013
+++ src/usr.sbin/rpcbind/util.c	Wed Mar 11 11:57:12 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: util.c,v 1.17 2013/10/19 17:16:25 christos Exp $	*/
+/*	$NetBSD: util.c,v 1.18 2015/03/11 15:57:12 christos Exp $	*/
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -360,6 +360,7 @@ network_init()
 			if (debugging)
 				perror("setsockopt v6 multicast");
 	}
+	freeifaddrs(ifp);
 #endif
 
 	/* close(s); */

Reply via email to