Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/rpcbind CID 1018907: Freeifaddrs



details:   https://anonhg.NetBSD.org/src/rev/d3dd50883c0d
branches:  trunk
changeset: 336698:d3dd50883c0d
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 11 15:57:12 2015 +0000

description:
CID 1018907: Freeifaddrs

diffstat:

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

diffs (17 lines):

diff -r 96a4ec482c54 -r d3dd50883c0d usr.sbin/rpcbind/util.c
--- a/usr.sbin/rpcbind/util.c   Wed Mar 11 12:40:36 2015 +0000
+++ b/usr.sbin/rpcbind/util.c   Wed Mar 11 15:57:12 2015 +0000
@@ -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 @@
                        if (debugging)
                                perror("setsockopt v6 multicast");
        }
+       freeifaddrs(ifp);
 #endif
 
        /* close(s); */



Home | Main Index | Thread Index | Old Index