aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2006-09-09 22:22:39 +0000
committerMartin Blapp <mbr@FreeBSD.org>2006-09-09 22:22:39 +0000
commitdc9fde8d4f2eb6ac60f89cd6a9e31f0a2b794366 (patch)
treed8f917aff8ba19556aad7f971febd743a9b2e3b3 /lib
parentb0718451b8d6dd382c5da6b3d5d8f2ac08f2be4e (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/getnetpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/rpc/getnetpath.c b/lib/libc/rpc/getnetpath.c
index db4dfc55e327..5c416fac3e1c 100644
--- a/lib/libc/rpc/getnetpath.c
+++ b/lib/libc/rpc/getnetpath.c
@@ -100,6 +100,7 @@ setnetpath()
return (NULL);
}
if ((np_sessionp->nc_handlep = setnetconfig()) == NULL) {
+ free(np_sessionp);
syslog (LOG_ERR, "rpc: failed to open " NETCONFIG);
return (NULL);
}