Date: Wed, 8 Jun 2016 17:11:42 +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-10@freebsd.org Subject: svn commit: r301646 - stable/10/usr.sbin/rpcbind Message-ID: <201606081711.u58HBg1J022676@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Jun 8 17:11:42 2016 New Revision: 301646 URL: https://svnweb.freebsd.org/changeset/base/301646 Log: MFC r300945: Remove unnecessary caller_uaddr != NULL test before calling free on it Modified: stable/10/usr.sbin/rpcbind/util.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/rpcbind/util.c ============================================================================== --- stable/10/usr.sbin/rpcbind/util.c Wed Jun 8 17:10:43 2016 (r301645) +++ stable/10/usr.sbin/rpcbind/util.c Wed Jun 8 17:11:42 2016 (r301646) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606081711.u58HBg1J022676>