diff options
Diffstat (limited to 'lib/libc/rpc/getnetpath.c')
-rw-r--r-- | lib/libc/rpc/getnetpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/rpc/getnetpath.c b/lib/libc/rpc/getnetpath.c index db4dfc5..5c416fac 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); } |