freebsd-dev/sys/rpc
Pedro F. Giffuni 0c2222baf4 libtirpc: be sure to free cl_netid and cl_tp
When creating a client with clnt_tli_create, it uses strdup to copy
strings for these fields if nconf is passed in. clnt_dg_destroy frees
these strings already. Make sure clnt_vc_destroy frees them in the same
way.

This change matches the reference (OpenSolaris) implementation.

Tested by:	David Wolfskill
Obtained from:	Bull GNU/Linux NFSv4 Project (libtirpc)
MFC after:	2 weeks
2012-10-02 19:10:19 +00:00
..
rpcsec_gss Attila Bogar and Herbert Poeckl both reported similar problems 2012-10-01 12:28:58 +00:00
auth_none.c
auth_unix.c
auth.h RPC: Convert all uid and gid variables of the type uid_t and gid_t. 2012-10-02 19:00:56 +00:00
authunix_prot.c
clnt_dg.c Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
clnt_rc.c
clnt_stat.h
clnt_vc.c libtirpc: be sure to free cl_netid and cl_tp 2012-10-02 19:10:19 +00:00
clnt.h
getnetconfig.c
netconfig.h
nettype.h
pmap_prot.h
replay.c
replay.h
rpc_callmsg.c
rpc_com.h Fix RPC headers for C++ 2012-09-02 21:04:40 +00:00
rpc_generic.c
rpc_msg.h
rpc_prot.c
rpc.h
rpcb_clnt.c Complete revert of r239963: 2012-09-27 19:10:25 +00:00
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h
svc_auth_unix.c
svc_auth.c
svc_auth.h
svc_dg.c
svc_generic.c
svc_vc.c
svc.c
svc.h
types.h
xdr.h Fix RPC headers for C++ 2012-09-02 21:04:40 +00:00