Author: ngie
Date: Wed Jun  8 17:12:37 2016
New Revision: 301647
URL: https://svnweb.freebsd.org/changeset/base/301647

Log:
  MFstable/10 r301646:
  
  MFC r300945:
  
  Remove unnecessary caller_uaddr != NULL test before calling free on it

Modified:
  stable/9/usr.sbin/rpcbind/util.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/usr.sbin/   (props changed)

Modified: stable/9/usr.sbin/rpcbind/util.c
==============================================================================
--- stable/9/usr.sbin/rpcbind/util.c    Wed Jun  8 17:11:42 2016        
(r301646)
+++ stable/9/usr.sbin/rpcbind/util.c    Wed Jun  8 17:12:37 2016        
(r301647)
@@ -311,8 +311,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);
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to