aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpcbind/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpcbind/util.c')
-rw-r--r--usr.sbin/rpcbind/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/rpcbind/util.c b/usr.sbin/rpcbind/util.c
index 8cf7a6e0354d..814a379679af 100644
--- a/usr.sbin/rpcbind/util.c
+++ b/usr.sbin/rpcbind/util.c
@@ -293,8 +293,7 @@ found:
ret = taddr2uaddr(nconf, &tbuf);
freeit:
- if (caller_uaddr != NULL)
- free(caller_uaddr);
+ free(caller_uaddr);
if (hint_nbp != NULL) {
free(hint_nbp->buf);
free(hint_nbp);