Remove a useless if (x != NULL) check before calling free on allocated_uaddr

MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2016-05-29 06:01:18 +00:00
parent 3a9c6c760d
commit acc0b5542a

View File

@ -219,8 +219,7 @@ mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr)
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);
}