mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
free ypbuf only when yp_match() succeed.
This commit is contained in:
parent
9ccf2f38c1
commit
f8997ca2f4
1 changed files with 1 additions and 1 deletions
|
|
@ -2246,8 +2246,8 @@ _yp_getaddrinfo(rv, cb_data, ap)
|
|||
while (cur && cur->ai_next)
|
||||
cur = cur->ai_next;
|
||||
}
|
||||
free(ypbuf);
|
||||
}
|
||||
free(ypbuf);
|
||||
}
|
||||
|
||||
/* ipnodes.byname can hold both IPv4/v6 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue