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/886a7480057e
branches:  trunk
changeset: 806840:886a7480057e
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 24615fbd28a3 -r 886a7480057e 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