summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_vc.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-16 07:57:22 -0200
committerRenato Botelho <renato@netgate.com>2015-11-16 07:57:22 -0200
commitad0b136d63d70552782c5c4936ce97e8aa42442e (patch)
tree44825d3d4a6cdbed690f2a6d5611f043119188fd /lib/libc/rpc/clnt_vc.c
parent2e02b14e19fd0fe27055d4a6e11a65e76882bf5f (diff)
parentd1d4e816ce49797ab1f23bb48cf5ee69018df284 (diff)
downloadFreeBSD-src-ad0b136d63d70552782c5c4936ce97e8aa42442e.zip
FreeBSD-src-ad0b136d63d70552782c5c4936ce97e8aa42442e.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libc/rpc/clnt_vc.c')
-rw-r--r--lib/libc/rpc/clnt_vc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c
index 117cfba..2c18850 100644
--- a/lib/libc/rpc/clnt_vc.c
+++ b/lib/libc/rpc/clnt_vc.c
@@ -666,8 +666,7 @@ clnt_vc_destroy(cl)
(void)_close(ct->ct_fd);
}
XDR_DESTROY(&(ct->ct_xdrs));
- if (ct->ct_addr.buf)
- free(ct->ct_addr.buf);
+ free(ct->ct_addr.buf);
mem_free(ct, sizeof(struct ct_data));
if (cl->cl_netid && cl->cl_netid[0])
mem_free(cl->cl_netid, strlen(cl->cl_netid) +1);
OpenPOWER on IntegriCloud