freebsd-nq/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 This patch is believed to fix a problem in the kernel rpc for 2011-04-27 18:19:26 +00:00
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 This patch is believed to fix a problem in the kernel rpc for 2011-04-27 18:19:26 +00:00
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 Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
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 Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
svc_auth_unix.c
svc_auth.c
svc_auth.h
svc_dg.c Mfp4 CH=177274,177280,177284-177285,177297,177324-177325 2011-02-16 21:29:13 +00:00
svc_generic.c Mfp4 CH=177274,177280,177284-177285,177297,177324-177325 2011-02-16 21:29:13 +00:00
svc_vc.c Mfp4 CH=177274,177280,177284-177285,177297,177324-177325 2011-02-16 21:29:13 +00:00
svc.c sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
svc.h
types.h
xdr.h Fix RPC headers for C++ 2012-09-02 21:04:40 +00:00