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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300945
@ -293,8 +293,7 @@ addrmerge(struct netbuf *caller, const char *serv_uaddr, const char *clnt_uaddr,
|
|||||||
ret = taddr2uaddr(nconf, &tbuf);
|
ret = taddr2uaddr(nconf, &tbuf);
|
||||||
|
|
||||||
freeit:
|
freeit:
|
||||||
if (caller_uaddr != NULL)
|
free(caller_uaddr);
|
||||||
free(caller_uaddr);
|
|
||||||
if (hint_nbp != NULL) {
|
if (hint_nbp != NULL) {
|
||||||
free(hint_nbp->buf);
|
free(hint_nbp->buf);
|
||||||
free(hint_nbp);
|
free(hint_nbp);
|
||||||
|
Loading…
Reference in New Issue
Block a user