Page MenuHomeFreeBSD

D11288.id29940.diff
No OneTemporary

D11288.id29940.diff

Index: head/lib/libc/rpc/rpcb_clnt.c
===================================================================
--- head/lib/libc/rpc/rpcb_clnt.c
+++ head/lib/libc/rpc/rpcb_clnt.c
@@ -499,14 +499,15 @@
hostname = IN6_LOCALHOST_STRING;
}
}
- endnetconfig(nc_handle);
if (tmpnconf == NULL) {
+ endnetconfig(nc_handle);
rpc_createerr.cf_stat = RPC_UNKNOWNPROTO;
mutex_unlock(&loopnconf_lock);
return (NULL);
}
loopnconf = getnetconfigent(tmpnconf->nc_netid);
/* loopnconf is never freed */
+ endnetconfig(nc_handle);
}
mutex_unlock(&loopnconf_lock);
client = getclnthandle(hostname, loopnconf, NULL);

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 4:14 AM (6 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31010492
Default Alt Text
D11288.id29940.diff (638 B)

Event Timeline