diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-16 02:00:12 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-16 02:00:12 +0000 |
commit | fd9367ff35d3ef67f52f8612ba6df3c487b90f4d (patch) | |
tree | 68c676723f5f9cd1d66be903cfdce6b37dcc3719 /lib/libc/rpc/clnt_bcast.c | |
parent | 3d588fbc9bc229fdd93d6aaf6340583c2bcaca9f (diff) | |
parent | b708fe19431dfeacfe97dbc276190934bd53b483 (diff) | |
download | FreeBSD-src-fd9367ff35d3ef67f52f8612ba6df3c487b90f4d.zip FreeBSD-src-fd9367ff35d3ef67f52f8612ba6df3c487b90f4d.tar.gz |
MFhead @ r290899
Diffstat (limited to 'lib/libc/rpc/clnt_bcast.c')
-rw-r--r-- | lib/libc/rpc/clnt_bcast.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c index 7242aa4..a194ba6 100644 --- a/lib/libc/rpc/clnt_bcast.c +++ b/lib/libc/rpc/clnt_bcast.c @@ -636,13 +636,10 @@ rpc_broadcast_exp(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, } /* The giant for loop */ done_broad: - if (inbuf) - (void) free(inbuf); - if (outbuf) - (void) free(outbuf); + free(inbuf); + free(outbuf); #ifdef PORTMAP - if (outbuf_pmap) - (void) free(outbuf_pmap); + free(outbuf_pmap); #endif /* PORTMAP */ for (i = 0; i < fdlistno; i++) { (void)_close(fdlist[i].fd); |