Date: Wed, 8 Jun 2016 17:10:43 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r301645 - stable/9/usr.sbin/rpcbind Message-ID: <201606081710.u58HAhsH019992@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Jun 8 17:10:43 2016 New Revision: 301645 URL: https://svnweb.freebsd.org/changeset/base/301645 Log: MFstable/10 r301644: MFC r300942: Remove a useless if (x != NULL) check before calling free on allocated_uaddr Modified: stable/9/usr.sbin/rpcbind/check_bound.c Directory Properties: stable/9/ (props changed) stable/9/usr.sbin/ (props changed) Modified: stable/9/usr.sbin/rpcbind/check_bound.c ============================================================================== --- stable/9/usr.sbin/rpcbind/check_bound.c Wed Jun 8 17:09:47 2016 (r301644) +++ stable/9/usr.sbin/rpcbind/check_bound.c Wed Jun 8 17:10:43 2016 (r301645) @@ -220,8 +220,7 @@ mergeaddr(SVCXPRT *xprt, char *netid, ch fprintf(stderr, "mergeaddr: uaddr = %s, merged uaddr = %s\n", uaddr, m_uaddr); #endif - if (allocated_uaddr != NULL) - free(allocated_uaddr); + free(allocated_uaddr); return (m_uaddr); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606081710.u58HAhsH019992>