Remove unnecessary caller_uaddr != NULL test before calling free on it
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
76c5029cdf
commit
370b69af0f
@ -293,8 +293,7 @@ addrmerge(struct netbuf *caller, const char *serv_uaddr, const char *clnt_uaddr,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user