Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/rpcbind Pull up revision 1.3:



details:   https://anonhg.NetBSD.org/src/rev/a646dfa7a568
branches:  netbsd-1-5
changeset: 488237:a646dfa7a568
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Jun 23 08:16:32 2000 +0000

description:
Pull up revision 1.3:
  - Fix memory leaks.

diffstat:

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

diffs (17 lines):

diff -r 85b2e7ccfa69 -r a646dfa7a568 usr.sbin/rpcbind/util.c
--- a/usr.sbin/rpcbind/util.c   Fri Jun 23 08:16:03 2000 +0000
+++ b/usr.sbin/rpcbind/util.c   Fri Jun 23 08:16:32 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.2 2000/06/04 04:51:50 thorpej Exp $ */
+/*     $NetBSD: util.c,v 1.2.2.1 2000/06/23 08:16:32 hannken Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -240,6 +240,7 @@
        if (ifap != NULL)
                ret = taddr2uaddr(nconf, &tbuf);
 freeit:
+       freenetconfigent(nconf);
        free(serv_sa);
        free(serv_nbp);
        if (clnt_sa != NULL)



Home | Main Index | Thread Index | Old Index