diff options
author | pfg <pfg@FreeBSD.org> | 2012-10-02 19:10:19 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-10-02 19:10:19 +0000 |
commit | 4143500b7bd8c48ee7602a796783fc0a455a6d40 (patch) | |
tree | 88d613c3ebda8ac3e23345be862e763e7943f08e /usr.sbin/wpa | |
parent | 7842c9016d1bb554ec3ceff6a37e072c5556531e (diff) | |
download | FreeBSD-src-4143500b7bd8c48ee7602a796783fc0a455a6d40.zip FreeBSD-src-4143500b7bd8c48ee7602a796783fc0a455a6d40.tar.gz |
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
Diffstat (limited to 'usr.sbin/wpa')
0 files changed, 0 insertions, 0 deletions