Searched hist:241143 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.2-release/lib/libc/rpc/
H A Dclnt_vc.cdiff 241143 Tue Oct 02 19:24:02 MDT 2012 pfg 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
/freebsd-10.2-release/sys/rpc/
H A Dclnt_vc.cdiff 241143 Tue Oct 02 19:24:02 MDT 2012 pfg 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

Completed in 120 milliseconds