svn commit: r301645 - stable/9/usr.sbin/rpcbind
Garrett Cooper
ngie at FreeBSD.org
Wed Jun 8 17:10:45 UTC 2016
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);
}
More information about the svn-src-stable-9
mailing list