]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Partial revert of r239963:
authorpfg <pfg@FreeBSD.org>
Mon, 24 Sep 2012 03:14:17 +0000 (03:14 +0000)
committerpfg <pfg@FreeBSD.org>
Mon, 24 Sep 2012 03:14:17 +0000 (03:14 +0000)
commitc2b29c9319f156dccee19691cf564833580643ae
treefb26e6a922cf02e8c7819d08b26d55eec7342de0
parent236cc73ab5f44b7de14d993f61821f86700fb6f6
Partial revert of r239963:

The following change caused rpc.lockd to exit after startup:
____

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.
____

MFC after: 3 days
Reported by: David Wolfskill
Tested by: David Wolfskill
lib/libc/rpc/clnt_vc.c
sys/rpc/clnt_vc.c