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:
parent
3a9c6c760d
commit
acc0b5542a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user