diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-29 06:29:22 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-29 06:29:22 +0000 |
commit | 9cd463f0ff848ae4bd9f0bf04c6348c082567862 (patch) | |
tree | a0cb6f882335da49bf5dce43ebbc1dc8c01822c4 | |
parent | dd3acf34f8eaf0a82a07bc0ea332fce0391768e0 (diff) | |
download | FreeBSD-src-9cd463f0ff848ae4bd9f0bf04c6348c082567862.zip FreeBSD-src-9cd463f0ff848ae4bd9f0bf04c6348c082567862.tar.gz |
Remove unnecessary caller_uaddr != NULL test before calling free on it
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
-rw-r--r-- | usr.sbin/rpcbind/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/rpcbind/util.c b/usr.sbin/rpcbind/util.c index 8cf7a6e..814a379 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); |