summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_bcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/clnt_bcast.c')
-rw-r--r--lib/libc/rpc/clnt_bcast.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c
index 6ee1f90..5f78dce 100644
--- a/lib/libc/rpc/clnt_bcast.c
+++ b/lib/libc/rpc/clnt_bcast.c
@@ -631,13 +631,10 @@ rpc_broadcast_exp(prog, vers, proc, xargs, argsp, xresults, resultsp,
} /* 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);
OpenPOWER on IntegriCloud